i am making a powerbi report which should give me the category having maximum value of defect (not total)
This is my dataset PowerBI Dataset
I am trying to use the following DAX formula
NO 1 Defect = LOOKUPVALUE('Camera Data'[Attribute],'Camera Data'[Value],MAX('Camera Data'[Value]))
And i am using a card to display the category of max value. This works fine till the time i have a single max value. the moment it becomes more than 1 then it is giving error
Multiple values supplied where only 1 value was expected
All i want is only the first of that max value category should be displayed on the card. How can i do it?
PS: to extract data from the image you can use this site https://extracttable.com/ this would work for free and 1 image will be easily converted to dataset.