Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table called InventTrans, and it contains a large amount of data. I applied a filter in Power Query on the InventDate column to include only records on or after 1/1/2025. However, when I click Close & Apply, it still loads all the data from the table. It looks like the filter isn't working.
Why is this happening?
Hi @amal_01 ,
My guess is that the source you are using is not foldable - is it SharePoint/network folder/Excel/CSV etc.?
In this case, Power Query can not send your filter back to the source to only retrieve the filtered rows, therefore, when you apply your query to the model, it has to load ALL the rows, then filter them in the model afterwards.
In order to avoid this behaviour (and only load filtered rows first time) you need to use a foldable source, such as SQL Server etc.
More detail available here:
Solved: Query Folding - Supported and Unsupported Data Sou... - Microsoft Fabric Community
Pete
Proud to be a Datanaut!
Hi @amal_01
Just a quick reminder based on earlier discussion shared by @MFelix if you're still seeing all records load from the InventTrans table despite applying a date filter in Power Query, please ensure the filter step is applied before any other steps that might override it or bring in the full dataset again (like a Changed Type step or re-applied source).
Also, please double-check that:
If the issue still persists reach out to us we are happy to help!
Looking forward for your response..
Hi @amal_01 ,
If your data source is sql database can you below sql statement directly
SELECT *
FROM InventTrans
WHERE InventDate >= '2025-01-01'
Hi @amal_01 ,
This may depend on a lot of things but I would do a couple of checks, I assume you have already done some of this but just double checking,
Without any data and example is difficult to understand what may be happening
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the July 2025 Power BI update to learn about new features.