Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Š 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.

About

Connecting SQL Database to PowerBI to Build a power full Dashboard for Sales and also managing parameter with the help of Power Query

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors