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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
miimii0608
New Member

Unwanted TMDL Data Type Updates in Power BI Reports

Hello everyone, my team uses TMDL for our PowerBI dataset as well as our reports. Whenever we make changes to a report or add a measure to a table in the dataset we get data type changes in other tables (or the table we are working on), even though we have not made these changes. Sometimes, changes like this appear even after simply opening a report and pressing save with no changes at all. Does this happen for anyone else? How can we stop this? We have tried to just commit the changes but it causes issues in the dataset and it just keeps appearing.

 

It makes developing quite tedious, especially when these random changes occur in files we have actually made changes in because then we need to revert the changes line by line.

miimii0608_1-1734364799677.png

 

1 REPLY 1
v-mengmli-msft
Community Support
Community Support

Hi @miimii0608 ,

 

I recommend that you use Power Query to check your data type after Power BI loads the data. When Power BI loads data, it attempts to convert the data type of the source column to a more efficient storage and compute type. This automatic conversion may result in a change in data type. For example, if you import a value from Excel with a column that doesn't have a decimal value, Power BI Desktop converts the entire column of data to an integer data type, which better stores the integer.

 

To avoid this issue, we recommend that you manually check and adjust the data types in Power Query to ensure that they meet the expected model needs.

 

 

Best regards,

Mengmeng Li

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.