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.
In our products' data we have two kinds of versions. Version_Number and Terget version. In our previous query in other tool these two fields are or logic. But when I edit query in Power BI desktop it will became and logic. Any suggestion for this issue? Thanks in advance.
Solved! Go to Solution.
I found a advanced way to achieve or logic in Power BI Desktop. Using Advanced Options to add SQL Statement before loading data. Below is my SQL Statement. Thank you anyway.
select * from [Table] where version_number ='V10.0' or Target_Rlease ='V10.0'
In that case, You can build two queries and append one on another. This can satisfy your OR requirement. Unless there is no specific terms to filter, it will use only AND logic in the query.
I found a advanced way to achieve or logic in Power BI Desktop. Using Advanced Options to add SQL Statement before loading data. Below is my SQL Statement. Thank you anyway.
select * from [Table] where version_number ='V10.0' or Target_Rlease ='V10.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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |