A computer hardware manufacturing company was facing declining and inconsistent sales performance.
The sales team lacked:
Manual data gathering was time-consuming and inefficient. To solve this, the company hired a Data Analytics Team to uncover hidden sales insights and build a centralized dashboard in Power BI.
To design and implement an automated Power BI dashboard that:
Sales Director, Marketing Team, Customer Service Team, Data & Analytics Team, IT Team
Team Roles:
Database: DEV_sales_insights โ Schema: sales
Key Tables:
SELECT * FROM sales.customers;SELECT * FROM sales.transactions;SELECT * FROM sales.products;Total Transactions: SELECT COUNT(*) FROM sales.transactions; โ Result: 150,283
Total Customers: SELECT COUNT(*) FROM sales.customers; โ Result: 38
SELECT sales.transactions.*, sales.date.* FROM sales.transactions INNER JOIN sales.date ON sales.transactions.order_date = sales.date.date WHERE sales.date.year = 2020;Total Revenue in 2020 example:
SELECT SUM(sales.transactions.sales_amount) FROM sales.transactions INNER JOIN sales.date ON sales.transactions.order_date = sales.date.date WHERE sales.date.year = 2020;Connecting Power BI to MySQL: Server: localhost โ Database: sales. Load tables and create relationships (market_code, order_date, product_code).
Common cleaning issues shown with example queries (negative sales, currency inconsistencies).
Measures (DAX) examples:
Revenue = SUM('sales transactions'[sales_amount]) Sales Qty = SUM('sales transactions'[sales_qty])Visualizations include KPI cards, Revenue by Market, Top 5 Customers, Top 5 Products, Revenue Trend, Year & Month slicers, drill down by month.
The final dashboard automates sales reporting, provides real-time insights, tracks revenue trends, identifies top-performing markets and products, and reduces manual reporting time.
Enabled data-driven decision-making, improved sales strategy visibility, targeted cost optimization (10% savings goal), and saved 20% analyst time previously spent on manual data collection.