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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
v-yaningy-msft
Community Support
Community Support

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors