Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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() )
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 40 | |
| 39 | |
| 38 |