I’ve attached a pbix file with a sample dataset and several measures created. Also included a table.
My goal is to create a measure which isolates the lag day on which the cumulative % of total reaches 80%.
I included an image with the highlighted row, the result I’m looking for is lag day = 161.
thank you!
Example Data PBIX.pbix (32.6 KB)
Rajesh
November 5, 2021, 6:23am
2
3 Likes
BrianJ
November 5, 2021, 6:50am
3
@Rajesh ,
Really elegant solution. I had just started working this as a MINX(TOPN()) pattern, but yours is much cleaner.
Hi @Rajesh , Thank you for always providing this group with great solutions. We hope this helped you @pete.langlois
If not, how far did you get and what kind of help you need further?
If yes, kindly mark as solution the answer that solved your query.
Hi @pete.langlois , due to inactivity, a response on this post has been tagged as “Solution”. If you have any concern related to this topic, please create a new thread.