Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
I have a doubt about the exact order of the steps that Power Bi executes when downloading any file to Power BI Desktop.
For example here my script:
let
#"Source" = Table.SelectRows(Csv.Document(File.Contents("File path"),[Delimiter=";", Columns=22, Encoding=1252, QuoteStyle=QuoteStyle.None]), each ([Column1] > "30"))
in
#"Source"
When I execute this script, does it first download all the file and then do the select or does he filter before downloading the file (downlading the file already filtered)?
I am asking this because I have a very large file that I would like to filter during the download (I don't need everything). Assuming that I can't modify the file so I have to do it with Power BI. I need to download it already filtered.
Thanks in advance
Solved! Go to Solution.
Yes, please refer to the screenshot below.
Best Regards,
Herbert
All downloaded file should can be seen in Query Editor. With your script, we can only see the filtered data after import, and there is only one step in the right pane. So it should do the filter before downloading the file.
Best Regards,
Herbert
Even if, like in this case, the source is OData?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.