Forum Discussion
aqavi10
Advocate I
7 years agoTop value in a category based on 2 columns
Hi everyone, Can someone please help me accomplish this task below? I need to display the store with the highest sales in a 'Card' visual. This needs to be categorized based on the 'State' and ...
- 7 years ago
Ashish_Mathur
Super User
7 years agoHi,
That takes me to a sign-in page.
aqavi10
Advocate I
7 years ago- Ashish_Mathur7 years ago
Super User
Hi,
See if this measure works
Store(s) with highest sales = CONCATENATEX(TOPN(1,GENERATE(VALUES(Data[StoreName]),VALUES(Data[Week])),[Revenue]),Data[StoreName],", ")