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
aqavi10
Advocate I
6 years agoAshish_Mathur
Super User
6 years agoHi,
See if this measure works
Store(s) with highest sales = CONCATENATEX(TOPN(1,GENERATE(VALUES(Data[StoreName]),VALUES(Data[Week])),[Revenue]),Data[StoreName],", ")