Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'd like to create a column or a measure that displays the Sub-Segment value in which the created measure "Rank by Volume" equals 1. It should be displayed on a card visual.
Expected result: So here the card should display "SUV" because it has rank = 1 which is based on highest volume for each Sub-Segment.
Sample data:
| Sub-Segment | Rank by Volume (Measure) | Sum of Volume |
| SUV | 1 | 200 |
| Car | 2 | 150 |
| Van | 3 | 120 |
| PUP | 4 | 100 |
| MPV | 5 | 90 |
Solved! Go to Solution.
Hi @Dn_wemn
You can just simply apply the visual filter on card.
Just take Sub-Segment value on the card . then open visual filter > add Rank column on visual filter section > put the condition show item when value is 1>apply filter
Every time when your ranking changes it auto changes.
No need to do anything extra.
I hope I answered your question!
Hi @Dn_wemn
You can just simply apply the visual filter on card.
Just take Sub-Segment value on the card . then open visual filter > add Rank column on visual filter section > put the condition show item when value is 1>apply filter
Every time when your ranking changes it auto changes.
No need to do anything extra.
I hope I answered your question!
Hi, I tried this before, but in this case Rank by Volume is a created measure. It does not allow me to filter Rank by volume = 1 in a card visual. I can't open the dropdown to select a filter option.
Hi @Dn_wemn
Yes becasue measure wont work for you. You have to create calculated column for ranking then take ranking column into card filter.
How would you create the calculated column for rank based on volume amount by Sub-segment in this case?
Edit: I got it myself.
Thanks.
Hi @Dn_wemn,
You can try something like this:
In plain text for convenience:
Sub-Segment no 1 =
VAR _tbl = ADDCOLUMNS ( 'Table', "@Rank", [Rank_measure] )
RETURN MAXX ( FILTER ( _tbl, [@Rank] = 1 ), [Sub-Segment] )
Best Regards,
Alexander
Hi, it does not show SUV when I tried it:
btw, here is my measure for rank by volume:
Hi @Dn_wemn
You can try my solution without creating measure.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!