Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
twister8889
Helper V
Helper V

Improve power query performance

Hi guys, 

 

I'm trying to improve the data refresh. I have 12 excel files, that contain 6 tabs. I'm using transform data to do the ETL, one of these transformations have more than 30 steps ( I don't know if I can minimize the steps )

Here I have some examples of my structure. ( I'm sorry for the picture but I can't share the data model )

 

Any suggestion to improve the data refresh?
 - Try to minimize the steps its enough?
 - Try to create a model without transformation data steps?

.......
 

Dependencia.pngQueries.pngCardinalidade.png

 

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

Your refresh issue is more likely due to the 30 steps and what you are doing there?  Please share that M code from the Advanced Editor so we can propose alternate approaches (perhaps with a buffer step if appropriate).

 

Also, how many tables are you loading to the model?  If multiple, can you disable load on all but one separately to see which one is the slow one?

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


First of all, thank you for your answer

 

I will try to reproduce the M code here, unfortunately, I can't share the code. However, I will try to minimize the steps, I don't know if is possible in my scenario because I have a lot of transformations.

Here I have the excel source:

 

https://1drv.ms/f/s!AoDYwrtLrltJn1AmP9R-vWOWRP_w

 

Each tab, its a table in power query, and after of apply the transformation I linked the tables for some keys.

 

 

 

 

selimovd
Super User
Super User

Hey @twister8889 ,

 

usually Excel and CSV is not made for such big transformations.

Do you have the possibility to load the files to a relational database? Then you have the advantage that  Query Folding can happen and improve a lot.

 

Otherwise think to load the XLSX and CSV on a cloud storage like Sharepoint, Dropbox or OneDrive and load the data with a data flow:

Introduction to dataflows and self-service data prep - Power BI | Microsoft Docs

Then you have the advantage that the data can load a little slower in the background. With your Power BI Desktop file you can then connect to the already processed data flow tables.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

First of all, thank you for your answer

- I don't have at this moment to use the relational database

- I don't  have the access to use the data flow

 

Considering this scenario, do you think it's possible to improve the performance and change the structure ( not many queries ), excluding some steps?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors