Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Sayri
Helper I
Helper I

Power Query Editor Complex Filter

Hi,

 

Would it be possible to do complex filtering in the Power Query Editor ?

Here is my case:
To reduce the number of loaded rows to create my table, I'd need to do something like:

 

(Filter 1 AND filter 2 AND filter 5 AND filter 6) OR (Filter 3 AND Filter 4)

where Filter 1,2,3,4,5,6 are basic filters like:

 Table.SelectRows(Table1, each ([ColumnA] <> null and [ColumnA] <> "Sample Name" and [ColumnA] <> "Sample Name x"))

Thanks

1 ACCEPTED SOLUTION
stvsurf
Resolver I
Resolver I

you can copy the filter code and combine it all in 1 in your formula bar

e.g. = Table.SelectRows(#"Changed Type", each ([ColumnA] = "a" and [ColumnB] = "b") or ([ColumnA] = "c" and [ColumnB] = "d"))

View solution in original post

1 REPLY 1
stvsurf
Resolver I
Resolver I

you can copy the filter code and combine it all in 1 in your formula bar

e.g. = Table.SelectRows(#"Changed Type", each ([ColumnA] = "a" and [ColumnB] = "b") or ([ColumnA] = "c" and [ColumnB] = "d"))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors