Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 26 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |