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

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

Reply
Elmarie_Kies
Frequent Visitor

Convert to decimal

Hello, 
I have a problem with converting a field to decimal. There are instances where it has one decimal and other two decimals. I tried to replace the 0.0 with 0.00 and then check for the 3 last characters where the first character is not a fullstop and then pad a zero on but it did not work. Any ideas to do this in a efficient manner?

Elmarie_Kies_0-1707289585795.png

 

1 ACCEPTED SOLUTION

I have done that first yes, but then it gives an error. I have however resolved the issue by replacing the fullstop (".") with a comma (",") and then convert it to decimal. Thank you.

 

View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @Elmarie_Kies ,

 

try changing the column type to decimal.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




I have done that first yes, but then it gives an error. I have however resolved the issue by replacing the fullstop (".") with a comma (",") and then convert it to decimal. Thank you.

 

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors