DAX for Everyone¶
Atlanta, USA
A practical, open-source learning hub for Data Analysis Expressions (DAX) in Power BI, Power Pivot, and Analysis Services. Start with a small query, build a star schema, and learn how context changes the answer.
Start here¶
- Choose a learning path.
- Run your first query.
- Import the synthetic retail model.
- Explore 18 reusable measures and eight queries.
- Complete a sales-analysis project.
What you will learn¶
- Measures versus calculated columns and tables.
- Row context, filter context, and context transition.
CALCULATE,KEEPFILTERS,REMOVEFILTERS, and variables.- Aggregations, iterators, table expressions, and safe division.
- Classic time intelligence, ratios, visual totals, and rankings.
- Relationships, alternate dates, and row-level security.
- Performance investigation, troubleshooting, and independent validation.
Repository map¶
| Location | Purpose |
|---|---|
| datasets/retail-sales | Three synthetic CSV tables and reference totals |
| examples | Canonical measures, queries, calculated objects, and an RLS expression |
| docs | Progressive lessons and hands-on projects |
| scripts | Dataset checks, generated downloads, and site-link validation |
| .github | Pull-request checks, Pages deployment, and contribution templates |
The website builds model-ready query downloads from the canonical measure files. Query-scoped definitions let you practice without manually installing every measure. You still need the imported tables, date table, and relationships.
Validation boundary: CI checks synthetic data integrity, independent arithmetic expectations, source packaging, and the strict website build. It does not execute DAX in Power BI or Analysis Services. Follow the model/query instructions and record your actual engine results. Python passing is not proof of DAX runtime correctness.
Contribute and use responsibly¶
Read CONTRIBUTING.md and the code of conduct. Use synthetic examples, disclose model assumptions, and include expected results and reproduction steps.
No paid resources, Power BI workspaces, or semantic models are deployed by CI. The existing GPL-3.0 license is preserved. Microsoft product documentation is the primary reference; this community project is not official Microsoft training or a certification guarantee.