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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Improve refresh times (Avoid timeout error)

Hi everyone,

 

For the past couple weeks we are running into a timeout error for a specific dataset in our premium workspace. It does not happen everyday, but the frequency of the error is increasing.

It's a datset with incremental refresh that loads a lot of tables (most of them in dataflows, a couple by querying athena), it stores data for the past 8 quarters and refreshes the last 2. 

I think we may have a bit of performance gain if we avoid loading some unused columns, but are there any other things we can do to avoid reaching the timeout error (usually token expired)?

 

Thanks!

3 REPLIES 3
ppm1
Solution Sage
Solution Sage

Removing unneeded columns is always a good step. You could also consider moving to monthly partitions instead of quarter. The other thing would be to try to optimize your M code, if you are doing any complex transformations, merges, etc. If so, you can share your M code here and get suggested optimizations from the community.

 

Pat

Microsoft Employee
cassidy
Power Participant
Power Participant

It can be reallly challenging to understand what portion of a Dataset refresh is causing slowness.  I've relied heavliy on the method described in this blog post to analyze my refresh and pinpoint bottlenecks.

 

https://dax.tips/2021/02/15/visualise-your-power-bi-refresh/

 

Also, using the "Best Practice Analyzer" in Tabular Editor is incredibly helpful at guiding you (and helping you fix) inefficiencies in your datasets.

https://www.sqlbi.com/tools/tabular-editor/

I've been able to reduce model sizes by half (!) and reduce refresh times by more than half (!) just by using the two tools above.

 

Anonymous
Not applicable

Thanks a lot! I will review this and see what I find 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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