Forum Discussion

abehrmann's avatar
abehrmann
Icon for Helper II rankHelper II
7 years ago
Solved

Filtering a view but it still loads the entire table

I am connecting to an azure sql db and i am filtering a view down to just the relavant data in powerquery.   Let just say i filtered it to 5 row.      when i go to apply changes the report still ...
  • Nolock's avatar
    7 years ago

    Hi abehrmann,

    I assume that your query can't be folded to the Azure SQL DB. In such case PowerQuery downloads all data and then does all the transformations. It depends on what you do with your data in your ETL and if it is supported by the data source.

    More about that for example on https://exceleratorbi.com.au/how-query-folding-works/ or just search for "Power BI Query Folding" on the internet.

  • Geradav's avatar
    7 years ago

    Hi abehrmann,

     

    When querying an Azure SQL Database, have you tried implementing a SQL statement at the connection level to apply your filter before it goes into Power Query?

    This could greatly improve the performance