Forum Discussion
Anonymous
9 years agoNot applicable
row filter with multiple clauses
Hi, I'm building a dashboard with a data set where I want to filter the rows down by multiple OR clauses. It appears to do so, however, when I apply the filter, it only retains the last two clauses....
- Anonymous9 years ago
Hi kelbow,
I agree with ankitpatira’s point of view, it seems more suitable than use query edit.
Based on test, I can’t reproduce your issue, it works well, can you provide more info about this operation? Before you add filters, please check if there are records meet [OwnerLogin] = "officedev" or [OwnerLogin] = "onenotedev" or [OwnerLogin] = "onedrive".
Test sample
Power query formula:
let Source = OData.Feed("services.odata.org/V4/Northwind/Northwind.svc"), Employees_table = Source{[Name="Employees",Signature="table"]}[Data], #"Filtered Rows" = Table.SelectRows(Employees_table, each [City] = "London" or [City] = "Redmond" or [City] = "Tacoma" or [City] = "Seattle" or [Region] = "WA") in #"Filtered Rows"Regards,
Xiaoxin Sheng
Anonymous
4 years agoNot applicable
You can create a custom column and right your logic with if condition for instance if x=y or x=a or x=w then yes else no and filter the column itself with yes condtion.I think this will solve your issue.