Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Below example table, includes the age of 10 people. I want to find out what age value to cover 90% of people. The expected result is age 20 which covers 9 people from B to J. How to use DAX functions to find the right age value?
Thanks
Clement
Solved! Go to Solution.
Hi @Anonymous ,
How about this:
Here the DAX code:
TomsPercentile90Measure = VAR _percentile = PERCENTILE.INC ( Table12[Age], 0.90 ) RETURN CALCULATE ( MAX ( Table12[Age] ), Table12[Age] <= _percentile )
Let me know, if this works for you 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Hi @Anonymous ,
How about this:
Here the DAX code:
TomsPercentile90Measure = VAR _percentile = PERCENTILE.INC ( Table12[Age], 0.90 ) RETURN CALCULATE ( MAX ( Table12[Age] ), Table12[Age] <= _percentile )
Let me know, if this works for you 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Hi Tom,
Thanks a lot. It works perfectly.
Best regards
Clement
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |