Forum Discussion
Get Rolling Maximum
- Anonymous3 years ago
Hi PiyushBQ ,
Based on your logic described, the desired output in Apr-22 should be 28 instead of 24.
I create the dynamic measure as
Dynamic MAX = CALCULATE(MAX('Table'[Value]),FILTER(ALLSELECTED('Table'),[Product]=MAX('Table'[Product])&&[Date]<=MAX('Table'[Date])))The result changes when the slicer is filtered.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi PiyushBQ ,
Based on your logic described, the desired output in Apr-22 should be 28 instead of 24.
I create the dynamic measure as
Dynamic MAX = CALCULATE(MAX('Table'[Value]),FILTER(ALLSELECTED('Table'),[Product]=MAX('Table'[Product])&&[Date]<=MAX('Table'[Date])))
The result changes when the slicer is filtered.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.