The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
There many post on Running Totals and Moving Averages separately.
I have successfully used moving average to extrapolate a future forecast
Solved! Go to Solution.
Hi,
I am not sure how your expected visualization looks like, but could you please try the below whether it suits your requirement?
Quarter Cumulative Cost Moving Average =
CALCULATE (
SUMX ( VALUES ( 'calendar'[date_field] ), [Cost Moving Average] ),
FILTER (
ALL ( 'calendar' ),
'calendar'[date_field] <= MAX ( 'calendar'[date_field] )
)
)
Hi,
I am not sure how your expected visualization looks like, but could you please try the below whether it suits your requirement?
Quarter Cumulative Cost Moving Average =
CALCULATE (
SUMX ( VALUES ( 'calendar'[date_field] ), [Cost Moving Average] ),
FILTER (
ALL ( 'calendar' ),
'calendar'[date_field] <= MAX ( 'calendar'[date_field] )
)
)
| User | Count |
|---|---|
| 15 | |
| 8 | |
| 6 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 13 | |
| 8 | |
| 8 |