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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dbrandone
Helper IV
Helper IV

Issues with changing column data type

Hello All,

 

I am adding data to my one of my workspaces and I am currently in the transform process before applying. I noticed that a few number columns were marked as text and I will need to perform some calculations based on these two columns. The numbers in the columns need 2 decimal places. The number are currently either in whole number form (2), in one decimal place form (2.5), or 2 decimal place form (2.75), depending on the value. When I change the data type to decimal number, the 2 decimal place number get rounded up. When I choose fixed decimal place, some of the values become null. I have been able to delete the step and try again and sometimes I can get the system to work with the decimal number option, but when I then go to change the data type of the second column, the numbers for the 1st column will change.

 

Any idea what may be causing this or a fix for this problem. Any help is appreciated. Thanks

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @dbrandone,

 

This sometimes happens when you change the data type in a field.

You can change data type in Query Editor and then refresh data in power bi desktop.

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

View solution in original post

2 REPLIES 2
v-xulin-mstf
Community Support
Community Support

Hi @dbrandone,

 

This sometimes happens when you change the data type in a field.

You can change data type in Query Editor and then refresh data in power bi desktop.

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

parry2k
Super User
Super User

@dbrandone really confusing what is happening? Can you pate M code by clicking on Advanced Editor? What is your data source?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.