Use Case -
Percentage Value should be calculated based on the max value for that category( this seems to be easy we can use allexcept by category in denominator and get percentage).
The max value criteria is > 800
However here the challenge is , consider u are in Mar 22 the value comes as 888 for Jan 22, Feb 22 the value is 400 , 200 so till Mar 22 the calc should be 400/888 and 200/888 however in Apr the value is again low less than 800 i.e 600 so for Apr it would be 600/888. Now for May 22 the value comes as 1234 so hence forth for the further month until a new value greater than 800 comes in the deno should be 1234 only the 888 values should get freezed till apr 22. Excel screen shot below
In order to achieve the results based on the scenario that you’ve mentioned. Below is the measure alongwith the screenshot of the final results provided for the reference -
@Harsh - I came across a scenario where this logic would fail i am attaching the updated pbix with updated dataset EDNA Solution - 1 - Harsh.pbix (66.4 KB)
The solution is provided based on the scenario presented in the original thread.
Please create a new thread for your new scenarios. As per the Forum Guidelines, one question can be posted per thread. Please go through the guidelines for the reference.