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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a very simple question.
I have a grid which has few columns. I need to apply a OR filter to the grid.
Column A <> 'USD'
OR
Column B <> 'GBP'
If I simply do to Basic Filter then isn't PBI treat that as "AND" condition?
Thanks for your help.
Solved! Go to Solution.
Hi @sabeensp
Try this:
1. Create a measure:
ShowMeasure =
IF (
SELECTEDVALUE ( Table1[Column1] ) <> "USD"
|| SELECTEDVALUE ( Table1[Column2] ) <> "GBP";
1
)
2. Place the Column1 and Column2 in a table visual
3. Place the measure in the visual filter and choose to show when ShowMeasure is 1
Cheers
Hi @sabeensp
Try this:
1. Create a measure:
ShowMeasure =
IF (
SELECTEDVALUE ( Table1[Column1] ) <> "USD"
|| SELECTEDVALUE ( Table1[Column2] ) <> "GBP";
1
)
2. Place the Column1 and Column2 in a table visual
3. Place the measure in the visual filter and choose to show when ShowMeasure is 1
Cheers
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 165 | |
| 132 | |
| 118 | |
| 79 | |
| 53 |