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 All,
Please see the link for the sample data file below.
I want to create a measure that acts as a visual level filter to include the following rows:
PO Cat = K or P
or
PO Cat = Blank, and PR Cat is K or P
In the sample data, the desired result is that the filter excludes PO1003.
https://drive.google.com/file/d/1XOp8YVIYCD71NXyVb3Oe_2lRT7FXUWgl/view?usp=sharing
It would also be useful to get the formula as if the PR Cat and PO Cat were in two different tables.
Please let me know if you need additional information.
Michael
Solved! Go to Solution.
I don't know, I'm new at this. I guess the calculated column would deliver a combined value that I could filter in the visual? So the values would be whatever is in PO Cat + PR Cat and anything that's blank would be filtered out? This sounds reasonable to me. I used this expression and filtered out any blanks. I think this will work for me.
Michael
Please explain why this would need to be a measure. A calculated column seems sufficient.
I don't know, I'm new at this. I guess the calculated column would deliver a combined value that I could filter in the visual? So the values would be whatever is in PO Cat + PR Cat and anything that's blank would be filtered out? This sounds reasonable to me. I used this expression and filtered out any blanks. I think this will work for me.
Michael
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 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 52 | |
| 47 | |
| 41 | |
| 38 |