We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hello
I have this report, where I rank stores by revenue.
I have two tables
FactSales
DimStore
I have created measure calculating RANK, and I can see best performing stores 🙂 (Thanks to this community)
Now I need to show 1 THE BEST PERFORMING STORE on a card (right side of report)
How to achieve that?
I have tried using
calculate with first non blank, and cant get that right.
Any help please?
Try this measure:
Top Store =
VAR vTopRow =
TOPN ( 1, DimStore, [Revenue] )
VAR vResult =
CALCULATE ( SELECTEDVALUE ( DimStore[Store_Name] ), vTopRow )
RETURN
vResult
Proud to be a Super User!
User | Count |
---|---|
14 | |
12 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
20 | |
14 | |
11 | |
5 |