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.
Hi,
I am trying to filter in power bi desktop using 2 conditions, I have a report with Field 1 and Field 2, would like to filter when Field1 >1000 or field2 >1000.
Is this possible?
thank you
Solved! Go to Solution.
Yes
There is an OR function.
https://msdn.microsoft.com/en-us/query-bi/dax/or-function-dax
Some details on logical filters are covered in the blog post
https://www.sqlbi.com/articles/the-in-operator-in-dax/
Hi @Manar,
You could create a column Condition:
If(OR(Table[Field1] > 1000, Table[Field2] > 1000), "True", "False")
Now, you can use this column Condition as a filter.
Is this what you were looking for?
Hi @Manar,
You could create a column Condition:
If(OR(Table[Field1] > 1000, Table[Field2] > 1000), "True", "False")
Now, you can use this column Condition as a filter.
Is this what you were looking for?
Yes
There is an OR function.
https://msdn.microsoft.com/en-us/query-bi/dax/or-function-dax
Some details on logical filters are covered in the blog post
https://www.sqlbi.com/articles/the-in-operator-in-dax/
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |