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!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
19 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
20 | |
13 | |
8 | |
7 | |
7 |