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
TeroK
Frequent Visitor

SQL Data refresh for new data only

I'm using SQL server for importing data to Power Bi, and I refresh the new data after each month. Problem is that I would like update only the latest month and not the older data as it has not been changed and it has been imported already. Data refresh takes a lot of time (over 8hours) and it increases after each month naturally as there is more data.  I cannot use incremental refresh as I don't want to publish the report. Reason being that i cannot do changes for it locally anymore and I cannot download it as pbix.


I know that I can query the data month by month but that is a no-go as well as I loose all the created measures and I have redo those after each refresh. Neither cannot I combine the data in report side as then the file size becomes the problem as power BI seems to duplicate the data which feels kinda weird.

Would appreciate info whether there is a way to do this? 

3 REPLIES 3

ok, sorry for not being clear enough. I'll try to depict it better:
Query data from on-premise SQL server which contains data from January 2020, Power Bi imports the data to my local Power bi report. "Apply query changes" is done for January

Same query (refresh) which contains now data from January to February 2020, Power Bi imports the data to my local Power bi report.

"Apply query changes" is done over January and February and so on. I hope you get what I mean. After every month the query becomes slower as there is more legacy data.

 

Incremental refresh cannot be used as I don't want to publish the report which is a mandatory step If I have understood correctly.  And union cannot be used in report side as it doubles the pbix file size as I wrote earlier.

v-yingjl
Community Support
Community Support

Hi @TeroK ,

Since you refresh data from SQL, I would suggest you to use DirectQuery mode to query instead of import mode, it will send query to the data source directly and the data model will not be too large. You can referr this document about import and direct query mode.

In addition, you can try to use query folding to optimize you query to avoid refresh and query fail, refer these document and article that hopes to help you:

  1. Query folding guidance in Power BI Desktop 
  2. Query Folding 

 

Best Regards,
Yingjie Li

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.