Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Afternoon all
Can someone please help with the following calculations. I'm trying to work out how to do a rolling 12 month calculation
My starting point will always need to go back 12 month even though the previous 12 months arent showing in the table (if that makes sense), So my starting point above is Nov and for that calculation I would need to sum the previous 12 months figures and then so on for each month showing in the table, and then deivide each rolling period by 12 to get the average rolling figure for that month. So
for Nov 20 - Sum the figures for Dec 19 - Nov 20 and divide that by 12
Dec 20 - Sum the figures for Jan 20 - Dec 20 and divide that by 12
Jan 21 - Sum the figures for Feb 20 - Jan 21 and divide that by 12
And so on
I then only want to see the previous 12 months in the table
I then need to do the same measure but with a different field, but once I have the measure for the abbove I can easily do this. Then finally I would didide one measure by the other to get the below final table %'s
Essentially my final table will look like the below
Is there anyone that can help with the rolling calculation please. I really hope the above makes some sense?
Thanks in advance
Karen
Solved! Go to Solution.
Hi @KarenFingerhut ,
Dates In Period with help you with this.
Hi @KarenFingerhut ,
Dates In Period with help you with this.
Hi @davehus
Thanks so much for getting back to me. This is great, think it's done the trick and I can use for my other measure too, which is ace 😊 . Will do a bit more testing and then come back and sign off as solution
Kind regards
Karen
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!