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

Need help to understand How Power BI works to refresh data

Hi all,

 

I have 2 questions please:

 

1. I have a Power BI report based on a data set with Import query mode.

Is it possible to change the refresh mode to be on Direct query?

If yes, then how?

 

2. I have a very big dataset (Import query mode)

When I refresh it, it genrates an error message:

Failed to save modifications to the server. Error returned: 'Memory error: Allocation failure: Pagination file is insufficient to end this operation...

 

Many thanks,

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @VEOMBOTEST,

 


I have a Power BI report based on a data set with Import query mode.

Is it possible to change the refresh mode to be on Direct query?

If yes, then how?

From this documentit's generally possible to switch a model from DirectQuery mode to use import mode, this means all the necessary data must be imported. It is also not possible to switch back (primarily due to the set of features not supported in DirectQuery mode). Here is an idea for you to upvote. However, you could take a look at this workaround to change data source connection from Import to Direct Query.

 


I have a very big dataset (Import query mode)

When I refresh it, it genrates an error message:

Failed to save modifications to the server. Error returned: 'Memory error: Allocation failure: Pagination file is insufficient to end this operation... 

This error is much related to your larget dataset loaded into Power BI deskrop. You could refer to this thread for some memery tips.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.