Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi,
I need help with creating a DAX measure that shows roling 12 month values.
I tried creating a measure as below but it shows cumalative and is wrong..
Solved! Go to Solution.
Hi @dinhandy1
you can try
Rolling 12 CA =
VAR CurrentDate =
MAX ( 'Rolling 12'[reportdate] )
VAR StartDate = CurrentDate - 364
RETURN
CALCULATE (
[Total CA $],
REMOVEFILTERS ( 'Rolling 12' ),
'Rolling 12'[reportdate] >= StartDate,
'Rolling 12'[reportdate] <= CurrentDate
)
If you have filter safe columns (columns that you use in slicers) then you need to replace REMOVEFILTERS with ALLEXCEPT and add the filter safe columns inside it.
Hi @dinhandy1
you can try
Rolling 12 CA =
VAR CurrentDate =
MAX ( 'Rolling 12'[reportdate] )
VAR StartDate = CurrentDate - 364
RETURN
CALCULATE (
[Total CA $],
REMOVEFILTERS ( 'Rolling 12' ),
'Rolling 12'[reportdate] >= StartDate,
'Rolling 12'[reportdate] <= CurrentDate
)
If you have filter safe columns (columns that you use in slicers) then you need to replace REMOVEFILTERS with ALLEXCEPT and add the filter safe columns inside it.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.