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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have the following dataset and I am trying to get the unique value from Name column where the value in Status column is 3 and value not 0 or 2. So the result should be only D.
Any help is greatly appreciated.
| Name | Status |
| A | 0 |
| B | 2 |
| C | 3 |
| D | 3 |
| A | 2 |
| C | 2 |
| B | 0 |
| A | 3 |
This measure expression will return a single Name that meets your conditions. Since you are expecting a single value, I assume you will use a card visual.
Name Just Status 3 =
VAR summary =
SUMMARIZE (
'Status',
'Status'[Name],
"@min", MIN ( 'Status'[Status] )
)
RETURN
MINX (
FILTER (
summary,
[@min] = 3
),
'Status'[Name]
)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
In DAX, you First filter, then calculate. Inside the calculate function, the first parameter is executed last. So.
=CALCULATE(distinctcount(tablename[name]),tablename[status]=3)
the filter is applied first (last parameter), then the calculation is executed
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |