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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi guys,
I want to create a 12 TAM measure in my cube of SSAS in case of use it in my PowerBI report (or create a new measure in it).
I have a sales 'tFRA' and i want to see it in 12 past months accummulated.
Any idea?
Regards.
Solved! Go to Solution.
@Anonymous,
Please take a look at the blog below about how to calculate Moving Annual Total, just use 3 months or 6 months instead of 1 year.
http://www.daxpatterns.com/time-patterns/
Regards,
Lydia Zhang
@Anonymous what is a TAM measure?
when you say the last 12 months i am assuming you mean a rolling 12 months? Also is this tabular SSAS or MDX?
you could do something like this (assuming you have a date table with its relationship mapped and its DAX you after)
TAM =
Calculate(sum([tFRA]),
DATESBETWEEN('Date'[Date],
NEXTDAY(SAMEPERIODLASTYEAR (LASTDATE ('Date'[Date]))),
LASTDATE( 'Date'[Date])
)
)
Proud to be a Super User!
Sorry i wanted to say MAT (Moving Annual Total), but in my case i want just 3 months, 6 months, etc
And there are tabular cubes, sorry again!
@Anonymous,
Please take a look at the blog below about how to calculate Moving Annual Total, just use 3 months or 6 months instead of 1 year.
http://www.daxpatterns.com/time-patterns/
Regards,
Lydia Zhang
User | Count |
---|---|
98 | |
76 | |
75 | |
49 | |
27 |