Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |