We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
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 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |