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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
MateusStefani
New Member

SQL Data Refresh

My powerBI is connected to two SQL database. One is old and should never be refresh, the other should refresh daily. Both database have the same tables and I combine the similars one before upload to the model (eg. sales, production, tranport tables). How do I prevent the old SQL tables to update when I hit "refresh" on powerBI?

The queries are already disable for upload and update report refresh in Power Query. 

 

Thank you!

 

3 REPLIES 3
danextian
Super User
Super User

Hi @MateusStefani 

Combining the old and new database tables in the query editor will still include the old ones in the refresh. To exclude the old tables from the refresh, load them separately and uncheck Include in report refresh for each query. You can use relationships and measures to visualize the old and new tables together.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
ribisht17
Super User
Super User

hi @MateusStefani 

 

Please check this one Solved: Disable refresh for particular table in power bi - Microsoft Fabric Community 

 

Regards,

Ritesh

ribisht17_0-1735355423274.pngPlease mark the answer if it is helpful so that it can help others as well
lbendlin
Super User
Super User

It's nigh impossible to "not include in refresh"  when there is lineage.

 

You could load the tables from the old SQL database into a dataflow and then not refresh the dataflow.  You will still have to load from the dataflow into the semantic model on each refresh, so if you consider Occam's Razor this is a futile extra step unless your old database is either slow or going away soon etc.

 

What you can consider is the enhanced Refresh API - it allows you to selectively refresh individual tables in your semantic model - and even individual partitions if you have these.

 

Enhanced refresh with the Power BI REST API - Power BI | Microsoft Learn

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.