Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I'm trying to calculate the moving 3 month avearge percentage.
Below is the table screenshort and the dax calculations I used.
How do I add additional dax to calculkate the moving 3 month %Worse average, so for November it will be 0.45%,(0.48+0.35+0.52)/3 , October 0.44% ,(0.49+0.48+0.35)/3, and so on.
The Dateid column is in the same table and only has month end dates and formatted to date/time.
Thank you
Thank you.
It worked for values. But when I tried to create the same view for volumes, the output is the same for all the dates.
Hi @Anonymous ,
You can use "DATESINPERIOD" function to return the rolling 3 months.
filterDate = DATESINPERIOD ( 'Date'[Date], LastCurrentDate, - NumOfMonths, MONTH )
Then use CALCULATE function and AVERAGEx function and you can reference the following document.
Rolling 12 Months Average in DAX - SQLBI
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Do you know why my rolling avearge values are the same?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |