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
Anonymous
Not applicable

Power Query Not Showing second decimal if zero

I'm having an issue in excels power query.

I can not figure out how to always show two decimal places.

For example, in excel it displays like this which is perfect

  • 1.21 = 1.21
  • 1.30 = 1.30

In Power Query It displays like this

  • 1.21 = 1.21
  • 1.30 = 1.3

Power Query removes the second decimal if its a zero. I'm trying to use this as a lookup by converting it to text as its my only unique number

1 ACCEPTED SOLUTION
Nolock
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

use the function Number.ToText which converts a number to text with defined format.

In your case it would be:

Table.AddColumn(#"Changed Type", "Column1 As Formated Text", each Number.ToText([Column1], "0.00"), type text)

And a screenshot with sample data:

Capture.PNG

View solution in original post

1 REPLY 1
Nolock
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

use the function Number.ToText which converts a number to text with defined format.

In your case it would be:

Table.AddColumn(#"Changed Type", "Column1 As Formated Text", each Number.ToText([Column1], "0.00"), type text)

And a screenshot with sample data:

Capture.PNG

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.

Top Solution Authors