๐ Sales Dashboard โ Awesome Chocolates (SQL + Power BI)
This project demonstrates how to integrate MySQL Database with Power BI to build a dynamic sales analytics dashboard using real-time data and DAX calculations.
๐ธ Dashboard Preview
Sales-Dashboard.mp4
The dashboard provides key business insights such as sales performance, shipment trends, product movement, and low-box shipment analysis.
๐ Key Business Insights Insight Value ๐ฐ Total Sales $1.87M ๐ฆ Total Boxes Sold 112K ๐ Total Shipments 344 ๐ Low-Box Shipments 31 ๐ Low-Box Shipment Ratio 9% ๐ Top Salesperson Performance Visualized ๐ Sales Trend Monthly/Weekly insights ๐ Connecting SQL Database to Power BI โ Steps to Connect SQL with Power BI
Open Power BI Desktop
Go to Home โ Get Data
Click More
Select MySQL Database / SQL Server
Enter:
Server Name
Database Name
Select Authentication:
Windows Authentication (for local machine)
Database Credentials (if hosted)
Choose desired tables โ Load
โ Connection Successful โ Now build reports & visuals!
๐งฎ DAX Measures Used Measure Name DAX Formula Purpose Total Boxes Total Boxes = SUM(sales[Boxes]) Count total units shipped Total Amount Total Amount = SUM(sales[Amount]) Total revenue Shipment Count Shipment Count = COUNTROWS(sales) Count shipment entries Low Box Shipment Low BOX Shipment = CALCULATE([Shipment Count], sales[Boxes] < 50) Filter low quantity shipments LBS % LBS = DIVIDE([Low BOX Shipment],[Shipment Count]) Low shipment ratio ๐ Tools & Technologies Tool / Technology Purpose MySQL Workbench Database & SQL queries Power BI Desktop Data modeling & dashboard SQL Data extraction DAX KPI calculation & analytics ๐ Project Outcome
โ MySQL connected to Power BI โ Sales data imported & transformed โ DAX KPIs created โ Interactive dashboard built โ Insightful business visualization delivered
๐ฏ Conclusion
THIS PROJECT SUCCESSFULLY CONNECTS SQL DATABASE TO POWER BI AND VISUALIZES SALES PERFORMANCE USING DAX AND INTERACTIVE DASHBOARDS.