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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kekepania0529
Helper I
Helper I

Fixed Decimal Number converted to Text issue

I converted a fixed decimal number column to text. Once converted, if the digits after the decimal were zeros, or the last digit was zero, they are being dropped from the text. How can keep the zeros after the decimal?

 

kekepania0529_1-1639403330661.png kekepania0529_0-1639403255710.png

 

1 ACCEPTED SOLUTION

Try adding SUBSTITUTE function as well

 

so New Column = SUBSTITUTE( FIXED (TableName[1_GL_Account],2), ",", "")

View solution in original post

4 REPLIES 4
themistoklis
Community Champion
Community Champion

@kekepania0529 

 

Try the following formula:

 

 

New Column = FIXED (TableName[1_GL_Account],2)

 

FIXED function converts the number to text and keeps 2 decimal places

 

 

That worked for the decimals, but added commas to the string. Can the commas be removed also? It needs to be formatted like this: 3219001011.05

kekepania0529_0-1639404448001.png

 

Try adding SUBSTITUTE function as well

 

so New Column = SUBSTITUTE( FIXED (TableName[1_GL_Account],2), ",", "")

Pragati11
Super User
Super User

HI @kekepania0529 ,

 

Can you share your sample data here so that I can try it at my end?

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.