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.
Hi,
I am having an issue extracting the latest 4 points of a measure. The measure I used is a rolling average and its function is as follows:
Moving_Average =
Solved! Go to Solution.
Hi Jimmy,
Thanks for answering.
Applying Filter function actually interrupt with the moving average and turn the output back to standalone points.
But applying the filter directly without the Filter function seem to work in this case.
Result = VAR Last_4_Roll_4 = CALCULATE ( [Moving_Average], 'table'[Quarter_Order] <= 4 ) RETURN Last_4_Roll_4
Thanks,
TS
@Anonymous,
Have you solved your issue by now? If you have, could you please help mark the correct answer to finish the thread? Your contribution will be much appreciated.
Regards,
Jimmy Tao
Hi TXTS23,
Modify your measure as below and check if it can work:
Result = VAR Last_4_Roll_4 = CALCULATE ( [Moving_Average], FILTER ( 'table', 'table'[Quarter_Order] <= 4 ) ) RETURN Last_4_Roll_4
Regards,
Jimmy Tao
Hi Jimmy,
Thanks for answering.
Applying Filter function actually interrupt with the moving average and turn the output back to standalone points.
But applying the filter directly without the Filter function seem to work in this case.
Result = VAR Last_4_Roll_4 = CALCULATE ( [Moving_Average], 'table'[Quarter_Order] <= 4 ) RETURN Last_4_Roll_4
Thanks,
TS
User | Count |
---|---|
116 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |