Write DAX without memorizing syntax
Quand l'utiliser : You know what you want in English; you don't want to debug CALCULATE for an hour.
Prérequis
- Power BI Desktop with a model open — Launch Power BI Desktop and open your .pbix
- MCP Engine installed and connected — See mcpengine.dev — installer under 5 min
Déroulement
-
Orient the modelList the tables in the open model and key measures.✓ Copié→ Model map
-
Write the measureCreate a DAX measure 'YoY Revenue' that returns current revenue minus same period prior year, using Date[Date] for time intelligence.✓ Copié→ DAX + creation confirmation
-
ValidateRun the measure over 2024 vs 2025 and spot-check 3 rows.✓ Copié→ Numbers that look right
Résultat : A working measure with validation, not a guess.
Pièges
- Time intelligence requires a properly marked date table — Verify Date table is marked as a date table first
- Model calculations differ between DirectQuery and Import — Be aware of your storage mode; DirectQuery imposes DAX restrictions