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 three columns in Power Query: Version, Currency, Data
If Version = BP, select Currency "USD" and "USD_PY"
If Version = PY, select Currency "USD"
How do accomplish this filter? Thank you
Solved! Go to Solution.
@kjani ,expected output is not clear. Are you trying to control slicer?
if you need a new filter column, you can try like
if ([Version] = "BP" and [Currency] = "USD" ) or ([Version] = "BP" and [Currency] = "USD_PY") then 1
else id [Version] = "PY" and [Currency] "USD" then 1 else 0
@kjani ,expected output is not clear. Are you trying to control slicer?
if you need a new filter column, you can try like
if ([Version] = "BP" and [Currency] = "USD" ) or ([Version] = "BP" and [Currency] = "USD_PY") then 1
else id [Version] = "PY" and [Currency] "USD" then 1 else 0
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 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 135 | |
| 110 | |
| 50 | |
| 31 | |
| 29 |