Forum Discussion
Thousand-Separator-and-Decimal-Separator
hello,
for the currency column, I'm having problems with decimal separator and thousand separator.
Decimal separator is a comma and thousand separator is a point. But PowerBi goes wrong
for example - powerbi shows 121,000.00 (thousand separator is a comma and Decimal separator is a point)
Output expected, 121.000,00 (Decimal separator is a comma and thousand separator is a point)
Thanks
The display of numeric felds (and dates, times etecetera) depends on your Regional Settings.
It can be adjusted in Power BI Desktop or in Windows (Land/Region). It looks like the Windows setting is leading, but you have to close and reopen your pbix file after adjusting the Regional Settings.
In Power BI you can also adjust your language settings to influence the display format for published reports.
16 Replies
- Jasper_EgginkRegular Visitor
Helle all,
Thanks to this blogpost I have found a sulution for this problem without changing the locale for the whole Power Bi file. The steps are:
- Go to the Power Query-editor and select the column
- Change the data type to "decimal number" in the transform menu
- Open the advanced editor and add the desired locale string to the "Table.TransformColumnTypes" function.
Example:
#"Type gewijzigd" = Table.TransformColumnTypes(#"Kolommen verwijderd",{{"sales.grand_total_month", type number}}, "en-US")
- fernandopjNew Member
This is the right answer. I don't care about Regional Display, I want the Power Query to correctly parse my column as it is written.
- vanessafvg
Community Champion
- RacAgr
Helper I
any suggestions pls on how to achieve the expected output?
- AnonymousNot applicable
Hi RacAgr,
Based on test, if I export these data to csv, it will remove custom format and keep the normal number. So I think you store these value with text format, right?
Regards,
Xiaoxin Sheng
- RacAgr
Helper I
these values are in decimal number then using currency
- AnonymousNot applicable
- MahashankariNew Member
The Thousand Separator could not work, if the currency value contains more than 8 digits. Provide solution for this.
- DeepikasimhaFrequent Visitor
Hello,
We have a power bi report embedded int .net application. We have given ($)United States format for one column in the report. It shows $123,345,678(Right format) in few browsers and machines and $12,33,45,678(wrong format) in few browsers.
Can some one help me to fix this please.
Thanks,
Power BI Learner
- Sathish_SelvamNew Member
Formatted Sales =
FORMAT(
[Your Measure or Column Name],
"Currency",
"nl-NL"
)