A multi-tool project demonstrating the full workflow of building a sales performance dashboard β starting with SQL queries, moving through Python analysis, and finally producing dashboards in both Excel and Power BI.
πΉ Part 1: SQL β Data Retrieval & Cleaning
Goal: Extract and clean sales data from a relational database.
Key Tasks:
Basic Queries
Count total number of orders.
Find distinct product categories sold.
Identify top 10 customers by total spend.
Aggregations
Calculate monthly revenue.
Find average order value (AOV).
Generate region-wise sales breakdown.
Joins(if additional tables like products or customers are used)
List customer names with their total revenue.
Find top 5 products by revenue in each region.
Export
Save cleaned outputs as SQL views or export to CSV for downstream analysis.
πΉ Part 2: Python β Analysis & Automation
Goal: Use Python for deeper analysis and automated data preparation.
Key Tasks:
Database Connection
Connect with pandas + sqlalchemy and run SQL queries directly in Python.
Data Cleaning
Handle missing values.
Convert dates to datetime.
Calculate total revenue per order (quantity * price).
Exploratory Analysis
Monthly revenue trend (line chart).
Revenue contribution by region (bar chart).
Top 10 products by sales (bar chart).
Advanced Analysis (Optional)
Customer segmentation (loyal vs. one-time buyers).
Forecast next monthβs sales using a simple moving average.
Export
Save the cleaned and aggregated dataset into Excel for dashboarding.
πΉ Part 3: Excel β Visualization & Dashboard
Goal: Build an interactive, stakeholder-friendly dashboard.