Forum Discussion
Anonymous
5 years agoNot applicable
Return largest category based on a sum
Hi there, I am looking for a (hopefully) simple DAX measure to solve the following problem. I have a range consisting of a number of employees, a chosen product, and their savings in each pro...
- 5 years ago
Hi,
These measures work
Total amount = SUM(Data[Amount])
Top product = FIRSTNONBLANK ( TOPN ( 1, VALUES ( Data[Product] ), [Total amount] ), 1 )
Hope this helps.
- 5 years ago
deevo
Helper I
3 years agoThis worked perfectly. Thank you so much. Your knowledge is amazing.
I will have to go back and break each formula down to understand how it works.
Ashish_Mathur
Super User
3 years agoYou are welcome. Thank you for your kind words. If my previous reply helped, please mark that reply as Answer.