Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Good morning to you all,
I have created (in a budget visual of my company) a very simple measure to calculate the expense of my department (Costs) among the total income (Gross Income). It would look like this:
FORMAT Costs / Gross Income= FORMAT([ Costs/ GI,"Percent")
Of course, the result gives me 6.40%, with a dot as a decimal separator...
What other way do I have to make the decimal separator a comma? Do I customize the format string?
I've even changed the locale, and nothing...
Thanks for the help!!!
Sds
Hi @ÒScar,
DAX Format function will force convert the result to text, so you can't directly use this change display format and keep raw data type.
As amitchandak said, change the numeric symbol in the region setting should suitable for your requirement. (notice: this symbol is related to current system settings so this style and setting not kept if you review this report on another device)
BTW, the measure formula also works with fields custom format string but it seems not able to change the delimiter of percent values to 'comma'. (comma cant be recognized as delimiter when you use in custom format; '00.00%' work, '00,00%' not work)
Regards,
Xiaoxin Sheng
@ÒScar , Regional setting should do that -https://docs.microsoft.com/en-us/power-bi/fundamentals/supported-languages-countries-regions
Another place to define the format is https://docs.microsoft.com/en-us/power-bi/desktop-custom-format-strings
But will not work for measure
I have seen user getting this worked with regional setting
Thanks for the comments, @amitchandak .
I will try as you say, anyway I have to push in another direction in order to get an alternative solution.
Thank you again for your support.
Best, @amitchandak !!
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
120 | |
101 | |
71 | |
61 |