Forum Discussion
PiyushBQ
Helper I
3 years agoGet Rolling Maximum
Hi, I'm trying to get the maximum rolling value in a table, till each date. Here's the table, with the desired output column: Date Product Value Desired Output (Highest Value Till D...
- 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.