Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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 |
---|---|
15 | |
10 | |
9 | |
9 | |
8 |