Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I need to apply the avg 3 month calc to feature dates as a projection. How would I populate future months based linking the days such as the below highlighted cells for reference.
Solved! Go to Solution.
Hi @Tripb44 ,
You can calculate the rolling avg 3 month like this:
3 MO avg = CALCULATE( AVERAGEX ( VALUES ( 'Date'[Calendar Year Month] ), [Sales Amount]), DATESINPERIOD('Date'[Date], MAX ( 'Date'[Date] ), -3, MONTH ) )
Processing of data for future months, you can read this case for reference:Solved: Rolling Average for Future Months - Microsoft Power BI Community
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Tripb44 ,
You can calculate the rolling avg 3 month like this:
3 MO avg = CALCULATE( AVERAGEX ( VALUES ( 'Date'[Calendar Year Month] ), [Sales Amount]), DATESINPERIOD('Date'[Date], MAX ( 'Date'[Date] ), -3, MONTH ) )
Processing of data for future months, you can read this case for reference:Solved: Rolling Average for Future Months - Microsoft Power BI Community
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Tripb44 , A measure like this with date table
Rolling 3 = divide( CALCULATE(sum(Sales[Sales]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date]),-3,MONTH)) ,
CALCULATE(distinctCOUNT('Date'[Month Year]),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-3,MONTH), filter(Sales,not(isblank((Sales[Sales]))))))
I have the rolling 3 calc. I need to fill future dates with using the rolling 3 calc to mirror the days.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
85 | |
66 | |
52 | |
48 |
User | Count |
---|---|
215 | |
90 | |
83 | |
67 | |
59 |