One dashboard that answers: are we growing profitably, where does margin leak, and what should we do next quarter. Built on a star schema with 12 DAX measures and SQL-validated KPIs.
FactSales (grain: order + product) → DimDate / DimProduct / DimCustomer / DimGeography. 12 measures cover Sales, Profit, Margin %, YTD, YoY. See data-model.md and dax-measures.md.
Power BI Desktop file in powerbi/sales-profit-dashboard.pbix. Theme theme.json matches portfolio (slate + teal). Screenshots below are exports; iframe embed is optional via Power BI Service publish-to-web.
screenshots/dashboard-overview.png after export.

All KPIs are first validated in SQL before DAX. See sql/02_kpi_queries.sql and sql/03_advanced_analysis.sql.
-- YoY example
WITH monthly AS (
SELECT date_trunc('month', order_date) AS m, SUM(sales) AS sales
FROM fact_sales GROUP BY 1
)
SELECT m, sales,
LAG(sales,12) OVER (ORDER BY m) AS last_year,
(sales - LAG(sales,12) OVER (ORDER BY m)) / NULLIF(LAG(sales,12) OVER (ORDER BY m),0) AS yoy_pct
FROM monthly;