Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I have a calculation group with 2 items in a matrix.
Is it possible to make the item name dynamic so e.g. the matrix could change with the years?
Thanks
Solved! Go to Solution.
Calculation group item names are static and cannot be made dynamic with DAX. They are stored as fixed strings in the model, so the labels you see (25/26, 26/27) will not roll forward on their own.
The standard workaround is to swap the calc group for a small disconnected helper table whose label column is computed from TODAY(). Something like:
FYHelper =
VAR ThisY = YEAR(TODAY())
RETURN
ADDCOLUMNS(
GENERATESERIES(0, 1, 1),
"FY Label",
FORMAT(MOD(ThisY + [Value] - 1, 100), "00") & "/" & FORMAT(MOD(ThisY + [Value], 100), "00")
)
Put FY Label on the matrix axis where your calc items are now, then in your measure use SELECTEDVALUE on Value to shift the date filter for the right fiscal year. Both the labels and the calculations then roll forward automatically each year.
If this helped, please give a thumbs up and accept it as the solution.
Best,
Shai Karmani
Calculation group item names are static and cannot be made dynamic with DAX. They are stored as fixed strings in the model, so the labels you see (25/26, 26/27) will not roll forward on their own.
The standard workaround is to swap the calc group for a small disconnected helper table whose label column is computed from TODAY(). Something like:
FYHelper =
VAR ThisY = YEAR(TODAY())
RETURN
ADDCOLUMNS(
GENERATESERIES(0, 1, 1),
"FY Label",
FORMAT(MOD(ThisY + [Value] - 1, 100), "00") & "/" & FORMAT(MOD(ThisY + [Value], 100), "00")
)
Put FY Label on the matrix axis where your calc items are now, then in your measure use SELECTEDVALUE on Value to shift the date filter for the right fiscal year. Both the labels and the calculations then roll forward automatically each year.
If this helped, please give a thumbs up and accept it as the solution.
Best,
Shai Karmani
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 40 |