Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.