Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
How do I retrieve the Item name based on the highest # of Customers? Eg: highest # of customers is 78, how do i rerieve Rice?
Thank you!
Solved! Go to Solution.
Hi @yewling1201 ,
Please try below measure :-
Measure =
var _max_cust = CALCULATE(MAX('Table'[# of customers]),ALL('Table'[# of customers]))
return CALCULATE(MAX('Table'[Item]),FILTER('Table','Table'[# of customers] = _max_cust))
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
I really apprecipate your swift response, Samarth. Thank you so much!
I really apprecipate your swift response, Samarth. Thank you so much!
Hi @yewling1201 ,
Please try below measure :-
Measure =
var _max_cust = CALCULATE(MAX('Table'[# of customers]),ALL('Table'[# of customers]))
return CALCULATE(MAX('Table'[Item]),FILTER('Table','Table'[# of customers] = _max_cust))
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
| User | Count |
|---|---|
| 43 | |
| 35 | |
| 26 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 40 | |
| 21 | |
| 20 |