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!
Hello!
I have a dataset with the following three fields: Product, Warehouse, and Status. Below is an example of what this looks like.
| Product | Warehouse | Status |
| ABC | CA | 1 |
| ABC | NY | 2 |
| ABC | TX | 3 |
| JKL | CA | 1 |
| JKL | NY | 1 |
| JKL | TX | 2 |
| XYZ | CA | 1 |
| XYZ | NY | 1 |
| XYZ | TX | 1 |
Each product can have a different status at each warehouse. I would like to identify all products that are only in status '1'. Simply filtering on the report would give me this table:
| Product | Warehouse | Status |
| ABC | CA | 1 |
| JKL | CA | 1 |
| JKL | NY | 1 |
| XYZ | CA | 1 |
| XYZ | NY | 1 |
| XYZ | TX | 1 |
I don't want to see products 'ABC' or 'JKL' because they are a different status in the warehouses that were filtered out. I only want to see product 'XYZ' because it is only status '1' in every warehouse. Is this possible to filter like this?
Thank you!
Solved! Go to Solution.
@Anonymous , Try this measure
Measure =
var _overall = countx(filter(allselected(Table), Table[Product] = max(Table[Product] ) ), Table[Product] )
var _st1= countx(filter(allselected(Table), Table[Product] = max(Table[Product] ) && [Status]= 1), Table[Product] )
return
if(_st1= _overall , Max(Table[Status]), Blank() )
@Anonymous , Try this measure
Measure =
var _overall = countx(filter(allselected(Table), Table[Product] = max(Table[Product] ) ), Table[Product] )
var _st1= countx(filter(allselected(Table), Table[Product] = max(Table[Product] ) && [Status]= 1), Table[Product] )
return
if(_st1= _overall , Max(Table[Status]), Blank() )
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 |
|---|---|
| 64 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 124 | |
| 105 | |
| 44 | |
| 32 | |
| 24 |