Write DAX without memorizing syntax
언제 쓸까: You know what you want in English; you don't want to debug CALCULATE for an hour.
사전 조건
- 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
흐름
-
Orient the modelList the tables in the open model and key measures.✓ 복사됨→ 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.✓ 복사됨→ DAX + creation confirmation
-
ValidateRun the measure over 2024 vs 2025 and spot-check 3 rows.✓ 복사됨→ Numbers that look right
결과: A working measure with validation, not a guess.
함정
- 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