Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a table with a list of scores and their corresponding percentage. I want to get the score that corresponds to [at least] 80%. For example, since there is no score that is exactly 80%, the next value is 85.24% - I'm trying to figure out a DAX query to say... "get the first value of the score if the percentage is >= 80%". The return value should be 16.
Thanks!
Solved! Go to Solution.
Hi @aolan,
Use this DAX Code:
Measure = CALCULATE(MIN('Table'[Value]),FILTER('Table','Table'[Score]>80))
Result:
Works for you? Mark this post as a solution if it does!
Hi @aolan,
Use this DAX Code:
Measure = CALCULATE(MIN('Table'[Value]),FILTER('Table','Table'[Score]>80))
Result:
Works for you? Mark this post as a solution if it does!
I had to modify the DAX a bit but it is essentially what I needed, thanks!
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |