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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
DraMat
Regular Visitor

Changing data source using TMDL but changes not transfering

Hello, so I have these two big reports that were connected to SQL database but then the data switched to MDB. Naturally I wanted to use TMDL because it is easier to make bulk changes. I switched all the SQL data sources to MDB ones. In one report I managed somehow to transfer these changes and the report works. But with the bigger one it doesn't work.

After changing the data source I open the .pbip file to load the changes but I am greeted with yellow 2 messages: One is the usual "Apply changes" and the other one "One or more tables contain no data want to load?". Whenever I try applying either of them PBI starts loading the SQL database which doesnt exist. When I open PowerQuery through transform data I can see in the steps the previous SQL source. That means that the changes in TMDL didn't transfer to the .pbip file. How is that possible?

1 ACCEPTED SOLUTION

Thanks for the advice.

I have found the solution that has worked for me in the end. I was digging through the .pbip files and found a json file in: \XXX.Dataset\.pbi\unappliedChanges.json. I deleted this file and suddenly everything works.

The problem might have been caused by me opening the .pbip file while the changes to certain tables wasn't finished yet.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @DraMat 

According to your description, the changes made in the Tabular Model Definition Language (TMDL) are not being reflected in your Power BI report. You can try following method to solve the problem.

1. Re-check the TMDL file, make sure that all references to the SQL database have been correctly replaced with the MDB ones.
2. Clear Data Source Settings in Power BI.
File > Options and settings > Data source settings
3. After changing the data source, try refreshing the data model in Power BI. 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

Thanks for the advice.

I have found the solution that has worked for me in the end. I was digging through the .pbip files and found a json file in: \XXX.Dataset\.pbi\unappliedChanges.json. I deleted this file and suddenly everything works.

The problem might have been caused by me opening the .pbip file while the changes to certain tables wasn't finished yet.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.