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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
SteveDesmedt
Frequent Visitor

Convert Fixed Decimal To Text

Hi all, 

 

I have a column of type "Fixed Decimal Number".  When i convert this to text, the decimal places dissapear.

SteveDesmedt_1-1702638516780.png

What i want to achieve is to merge cells withou removing the decimals  :

125,23 USD

2.558,58 EUR

558,00 EUR

 

When i merge the columns, decimal places dissapear (if ,0 or ,00 or ,5 or ...)

I want to keep the two decimal places always.

 

SteveDesmedt_2-1702638647473.png

 

Anyone can help me ?

 

Regards

 

steve

 

 

 

1 REPLY 1
slorin
Super User
Super User

Hi,

Add column

Number.ToText([AMOUNT],"F") &" "& [CURRENCY]

https://gorilla.bi/power-query/custom-format-strings/

 

or 

= Table.CombineColumns(
Table.TransformColumns(
PrevStep,
{{"AMOUNT", each Number.ToText(_,"F")}}),
{"AMOUNT", "CURRENCY"},
Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),
"Merged"
)

Stéphane 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors