What problem does it solve?
Reference for Power BI Calculation Groups in TMDL. Use this whenever a user asks for time intelligence patterns (YTD, QTD, rolling periods, prior year), scenario switching (Actual/Budget/Forecast), currency conversion, or any pattern where the same transformation needs to apply dynamically across many measures. Always consult this before writing individual YTD/PY/Rolling measures from scratch — a calc group is the correct architecture and eliminates boilerplate at scale.
Core Features & Use Cases
- Calculation groups intercept SELECTEDMEASURE() and transform it, applying the same logic across every measure in the model without duplicating DAX.
- Time Intelligence: YTD, QTD, MTD, SAMEPERIODLASTYEAR, rolling windows anchored to LASTDATE('Date'[Date]).
- Cross-measure transformations: reduce boilerplate and ensure consistent logic across reports and dashboards.
Quick Start
Use the calc-groups skill to reference and implement calculation groups across your Power BI model to standardize time intelligence patterns.