Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
In Power Query It displays like this
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
Solved! Go to Solution.
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:
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:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |