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
pranjaljain99
Regular Visitor

Unable to load historical data in PowerBi from SQL Server

I am trying to create a PowerBI dashboard (75 columns and about 25 M rows) coming from more than 25 tables in a SQL Server using a view. Once I load that data into a pbix file, I can configure incremental refresh which refreshes it for last 3 months.

The error which I receive at the end of the entire data load which happens in about 30 minutes:

Failed to save modifications to the server.
Error returned: 'OLE DB or ODBC error: [DataSource.Error]
An error happened while reading data from the provider: 'Invalid operation. The connection is closed.'

I've also tried to break the view into 3 separate views (each fetching about 9M records) which works fine but now when I try to create a new table and do a union of these 3 datasets, it throws an error

There is not enough memory to complete the operation in PowerBI

Resources: Power Bi Desktop | Azure SQL server serverless Gen5

 

Does anyone have some workaround for this?

 

4 REPLIES 4
Pragati11
Super User
Super User

Hi @pranjaljain99 ,

  1. What version of Power BI Desktop are you using?
  2. Have you tried clearing Power BI cache and then trying?

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi Pragati, Thanks for your response. 

 

I am using the latest version. No further updates are available. Version: 2.95.804.0 64-bit (July 2021)

 

Yes, I've cleared the cache and tried it too. 

Hi @pranjaljain99 ,

 

I see that you have posted on another forum: https://stackoverflow.com/questions/68591108/unable-to-load-historical-data-in-powerbi-from-sql-serv... 

 

Has your problem been solved? If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

Dear Winniz,

 

Thanks for your response. Yes, I am trying all those steps one by one. No success yet. Will keep you posted once I am done with all of them. Thanks

-Pranjal

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.