Git Product home page Git Product logo

sales_and_product_management's Introduction

Sales and Product Management Dashboard

Problem Statement

Our sales reporting system relies on static reports that require more flexibility and depth for practical analysis. We must transition from static reports to dynamic visual dashboards to enhance our sales monitoring and decision-making process. The primary challenges we face are:

  • Lack of Detailed Product and Client Insights: We cannot currently track the sales of individual products and understand the clients associated with each sale. This hampers our ability to tailor our sales strategies effectively.

  • Inability to Assess Performance Trends: We need a comprehensive system for evaluating the performance trends of our sales over time. This makes it difficult to make informed decisions and adapt to changing market dynamics.

  • Budgetary Comparison: Our budget data for the fiscal year 2022 needs to be more effectively integrated into our sales reporting, limiting our ability to compare actual sales performance against budgeted targets.

  • Need for Filter Functionality: Given the diverse range of products and clients managed by each salesperson, we require the capability to apply filters to analyze specific segments of our sales data.

Business Understanding

Business Demand Overview:

  • Reporter: Shenique N. – Sales Manager
  • Value of Change: Visual dashboards and improved Sales reporting for Salesforce.
  • Necessary Systems: PowerBI, CRM System
  • Other Relevant Information: Budgets have been delivered in Excel for 2022

User Stories:

No. As a I want So that Acceptance Criteria
1 Sales Manager to access a PowerBI dashboard effectively track which customers and products perform best each month/quarter/year A PowerBI dashboard updated once daily.
2 Sales Rep A detailed PowerBI dashboard proactively engages with our most frequent customers and identifies potential future sales opportunities A PowerBI dashboard that provides the functionality to filter data by each customer.
3 Sales Rep a detailed overview of sales per product efficiently monitor and manage the products that are selling the best A PowerBI dashboard that provides the functionality to filter data by each product.
4 Sales Manager comprehensive PowerBI dashboard to oversee our sales performance over time, enabling a comparison against our budget can effectively evaluate our sales performance A PowerBI dashboard that includes graphs and Key Performance Indicators (KPIs) to facilitate a comparison with the budget.

Data Understanding

Data Source: AdventureWorks 2022 Sample Database The project utilizes the AdventureWorks 2022 sample database, a comprehensive dataset provided by Microsoft, designed for learning and practicing SQL and database management.

This database contains information about a fictional bicycle manufacturer, Adventure Works Cycles, and encompasses various aspects of its operations, including sales, products, customers, and more.

Key Tables and Data Categories

Fact Tables
  1. Internet Sales Data: The database contains sales-related information, including orders, order details, and sales territories.
  2. Budget: Data about budgets and financial performance.
Dimension Tables
  1. Product Data: Information about products, categories, and descriptions.
  2. Customer Data: Customer details, including names, addresses, and contact information.
  3. Calendar Data: Information about the year, quarter, month and day descriptions.

The data in AdventureWorks 2022 is designed to support a wide range of scenarios and use cases for database and SQL practice. This README file covers the data's use in improving sales reporting and creating dynamic visual dashboards. Please ensure the AdventureWorks 2022 database is installed and accessible for this project.

Data Preparation

To clean and transform this data, I used Microsoft SQLServer to perform queries on the Calendar, Customers and Products Dimension Tables, and the Budget and Internet Fact Tables.

Cleansed DIM_Customers Table

This SQL query cleans and structures the "DIM_Customers" table, providing a more organized view of the customer data. The resulting table includes essential customer attributes, such as customer key, first name, last name, full name (combined from first and last name), and gender (with values transformed from 'M' to 'Male' and 'F' to 'Female'). The query also incorporates data from the "DIM_Geography" table to include customer city information.

SELECT c.customerkey AS CustomerKey
	,c.firstname AS [FirstName]
	,c.lastname AS [LastName]
	,c.firstname + ' ' + c.lastname AS [FullName]
	CASE c.gender
		WHEN 'M' THEN 'Male'
		WHEN 'F' THEN 'Female'
		END AS Gender
	c.datefirstpurchase AS DateFirstPurchase
	,g.city AS [Customer City]
FROM AdventureWorksDW2022.dbo.DimCustomer AS c
LEFT JOIN AdventureWorksDW2022.dbo.DimGeography AS g ON g.geographykey = c.geographykey
ORDER BY CustomerKey ASC

Cleansed DIM_Products Table

This SQL query is designed to cleanse and structure the "DIM_Products" table. It extracts specific attributes while providing a more organized view of the data. The resulting table includes essential product information, such as product key, item code, product name, sub-category, product category, product color, size, product line, model name, and product description.

-- Cleansed DIM_Products Table --
SELECT p.[ProductKey]
	,p.[ProductAlternateKey] AS ProductItemCode
	,p.[EnglishProductName] AS [Product Name]
	,ps.EnglishProductSubcategoryName AS [Sub Category]
	,pc.EnglishProductCategoryName AS [Product Category]
	,p.[Color] AS [Product Color]
	,p.[Size] AS [Product Size]
	,p.[ProductLine] AS [Product Line]
	,p.[ModelName] AS [Product Model Name]
	,p.[EnglishDescription] AS [Product Description]
	,ISNULL(p.STATUS, 'Outdated') AS [Product Status]
FROM AdventureWorksDW2022.dbo.DimProduct AS p
LEFT JOIN AdventureWorksDW2022.dbo.DimProductSubcategory AS ps ON ps.ProductSubcategoryKey = p.ProductSubcategoryKey
LEFT JOIN AdventureWorksDW2022.dbo.DimProductCategory AS pc ON ps.ProductCategoryKey = pc.ProductCategoryKey
ORDER BY p.ProductKey ASC
cleansed_product_table_query

Data Modeling

sales_report_model

Model Evaluation

Sales Overview Report

sales_overview_report ## Product Details Report Product Details Report ## Customer Details Report customer_details_report

The created Power BI report comprises three pages catering to different user needs and roles. It is updated daily, ensuring that the data is current. The report can be filtered by customer, product, city, month, and year, providing a high level of customization. The report displays the top 10 products and top 10 customers, delivering valuable insights. It includes shipment information by category and subcategory, enabling detailed product analysis. The report intensifies the data analysis by showing the city and day of the week for the top 10 products.

Model Deployment

To deploy this model, I published the dashboard here for users to test and give feedback to the team.

Future Work

Some ideas for future work include:

  1. Sales Forecasting: Implement a sales forecasting system that uses historical sales data from AdventureWorks2022 to predict future sales.
  2. Inventory Management: Create an inventory management module that monitors product stock levels and generates alerts when products run low.
  3. Customer Segmentation: Develop a customer segmentation analysis to group customers based on their purchase behavior, demographics, and other attributes.

Please review my full analysis in my notebook or (my presentation). Feel free to contact me Tenicka Norwood at [email protected] if you have more questions.

Repository Structure


   .
   └──sales_and_product_management/
      ├── README.md                                            Overview for project reviewers  
      ├── queries/                                             Includes SQL queries 
      ├── tables/                                              Includes tables used in the model  
      ├── dashboards/                                          Includes PowerBI files   
      ├── requirements/                                        Includes requirements of this project and instructions to obtain the dataset
      ├── images/                                              Includes images related to the project
      └── .gitignore                                           Specifies intentionally untracked files

sales_and_product_management's People

Contributors

dataeducator avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.