Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I would like to ask for help with the following problem.
I have 3 numeric columns (menny, btknettoar, btkbruttoar), all columns are decimal value with 4 digits after comma and i would like to concatenate together.
I use the following:
"Mennyiség: " & Number.ToText(Number.Round([menny],2)) & " Nettó ár: " & Number.ToText (Number.Round([btknettoar],2)) & " Bruttó ár: " & Number.ToText (Number.Round([btkbruttoar],2))
The result:
Mennyiség: 12.0000 Nettó ár: 491.0000 Bruttó ár: 623.5700
I would like to get the following (only 2 digits after comma):
Mennyiség: 12.00 Nettó ár: 491.00 Bruttó ár: 623.57
Is it possible to format the values? The original colums cannot be formated to use only 2 digits, i need all 4 digits for other purposes, so that is not an option.
Thank you.
Solved! Go to Solution.
Hey @Akos9207,
You could use the FIXED function. Rounds a number to the specified number of decimals and returns the result as text. You can specify that the result be returned with or without commas.
hi @Akos9207
try to wrap with Number.RoundUp:
https://learn.microsoft.com/en-us/powerquery-m/number-roundup
Hey @Akos9207,
You could use the FIXED function. Rounds a number to the specified number of decimals and returns the result as text. You can specify that the result be returned with or without commas.
Thank you.
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 |
|---|---|
| 45 | |
| 34 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 38 | |
| 21 | |
| 20 |