Forum Discussion
I don't know why I cannot use the Rolling Average Quick Measures
- 4 years ago
Hi, Stan_Lego ;
If you want to use rolling average base on [CheckInTime] , please try it.
RoLL = CALCULATE ( AVERAGE ( [CT] ), FILTER ( ALL ( TrackingTable ), DATEDIFF ( [CheckInTime], MAX ( [CheckInTime] ), DAY ) <= 6 && DATEDIFF ( [CheckInTime], MAX ( [CheckInTime] ), DAY ) >= 0 ) )The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Stan_Lego ;
If you want to use rolling average base on [CheckInTime] , please try it.
RoLL =
CALCULATE (
AVERAGE ( [CT] ),
FILTER (
ALL ( TrackingTable ),
DATEDIFF ( [CheckInTime], MAX ( [CheckInTime] ), DAY ) <= 6
&& DATEDIFF ( [CheckInTime], MAX ( [CheckInTime] ), DAY ) >= 0
)
)
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your help, i just wanna ask why doesn't the graph start from zero and instead it starts from a particular value. Is it possible to make the graph only calculate rolling average from the first date in the database based on check out?
Thanks again for the help