Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I want to ask if someone could share their best practices on loading / converting large csv files into Power BI to reduce refresh times.
I have a 20mb monthly csv file and would like to append each monthly file into one table to perform time intelligence calculations. First, I used Power Query to append each csv into a large file. The refresh time is very long with only 2 months of data (20+ minutes)
On second approach, I used python to merge the 2 csv files outside of Power Query (using Juypter Notebook), and the size of the csv file with 2 months of data is 40mb. The refresh time on the Power BI is also very long (20+ minutes).
What approach should I use to improve refresh time? Should this data sit in a database (eg. Dremio or SQL server or MS Access)?
Solved! Go to Solution.
Thank you for everyone's suggestions. Your responses allowed me to learn when to use data flow in the future!
I solved my problem: the problem was the csv file was stored on the network drive and it was throttling the refresh. The solution now is to have store the file on OneDrive (or local drive) so I can refresh the file locally!
The change reduced refresh time from 20+ minutes to 10 seconds! 🙂
Thank you for everyone's suggestions. Your responses allowed me to learn when to use data flow in the future!
I solved my problem: the problem was the csv file was stored on the network drive and it was throttling the refresh. The solution now is to have store the file on OneDrive (or local drive) so I can refresh the file locally!
The change reduced refresh time from 20+ minutes to 10 seconds! 🙂
@Anonymous Are you doing a lot of heavy transformation? I have loaded 700MB CSV files in 2 minutes. Try taking out your default change type step if you have one.
And yes, always better with an actual database backend like SQL.
I have good experience utilizing Power BI Dataflows to inject and append several hundert (chunky) Excel files. This decouples the first step (merging) from the second one (data load to PBI).
Loading even big dataflows into PBI is a seamless experience in PBI Service.
Hi donaldm
If you must use CSV in Power Query then try remove any unwanted rows or columns as soon as possible in your query before you do any other transformations.
SQL will be much quicker that CSV because of "Query Folding".
Power BI is not fast and will have to do all the CSV heavy lifting and shifting.
Whereas if you use SQL then Power BI will "delgate" the heavy lifting and shifting back to the SQL server which is super fast.
Remember we are BI community voluntrees so please click the thumbs-up for me taking the trouble to help you and then accept the solution if it works. Thank you !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
50 | |
38 | |
38 |
User | Count |
---|---|
195 | |
80 | |
70 | |
51 | |
42 |