Hi all,
Having a really tough time with Power Query. Does anyone know why I would be experiencing extremely slow filtering? I've connected to an oracle database with 7,000+ tables.
I'm only concerned with one of them but when I try to apply a simple filter to a column, It's taking 20 minutes to an hour. The more filters I apply, the slower it gets. Also, loading to the workbook takes a crazy long time.
Is this normal? I don't see anyone else complaining about this so I'm sure I'm doing something wrong. Is PQ trying to filter through all those 7,000+ tables?
let
Source = Oracle.Database("ORCL"),
#"Filtered Rows" = Table.SelectRows(Source, each Text.Contains([Name], "Database.Customer_Table")),
Database.Customer_Table = #"Filtered Rows"{[Schema="Database",Item="Customer_Table"]}[Data],
#"Filtered Rows1" = Table.SelectRows(Database.Customer_Table, each not Text.Contains([SO_NUMBER], "S-54398") or not Text.Contains([SO_NUMBER], "S-50208")),
#"Filtered Rows2" = Table.SelectRows(#"Filtered Rows1", each not Text.Contains([SO_NUMBER], "S-50204") or not Text.Contains([SO_NUMBER], "S-50205"))
in
#"Filtered Rows2"
Thanks for any advance. This is driving me nuts.
Having a really tough time with Power Query. Does anyone know why I would be experiencing extremely slow filtering? I've connected to an oracle database with 7,000+ tables.
I'm only concerned with one of them but when I try to apply a simple filter to a column, It's taking 20 minutes to an hour. The more filters I apply, the slower it gets. Also, loading to the workbook takes a crazy long time.
Is this normal? I don't see anyone else complaining about this so I'm sure I'm doing something wrong. Is PQ trying to filter through all those 7,000+ tables?
let
Source = Oracle.Database("ORCL"),
#"Filtered Rows" = Table.SelectRows(Source, each Text.Contains([Name], "Database.Customer_Table")),
Database.Customer_Table = #"Filtered Rows"{[Schema="Database",Item="Customer_Table"]}[Data],
#"Filtered Rows1" = Table.SelectRows(Database.Customer_Table, each not Text.Contains([SO_NUMBER], "S-54398") or not Text.Contains([SO_NUMBER], "S-50208")),
#"Filtered Rows2" = Table.SelectRows(#"Filtered Rows1", each not Text.Contains([SO_NUMBER], "S-50204") or not Text.Contains([SO_NUMBER], "S-50205"))
in
#"Filtered Rows2"
Thanks for any advance. This is driving me nuts.
Last edited: