Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I have a column of type "Fixed Decimal Number". When i convert this to text, the decimal places dissapear.
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.
Anyone can help me ?
Regards
steve
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
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 7 |