cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ÒScar
Frequent Visitor

Predefined numeric formats for the FORMAT function

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

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Ò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

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

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 !!

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors