Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

DAX equation for thousand separator

Hi everyone,

have a problem with the resulting format of a number. Have the following measure / DAX equation

 

tested cases = 
var txt = "number of cases: "
var nrCases=  sum(table[column])
return
CONCATENATE(txt; CONCATENATE(nrCase; " €"))

image.png

I would like to format the resulting number to be like this 13.500  (with a dot as separator) independent of my geographic location! It should be possible, right?

 

Thanks in advance

4 REPLIES 4
amitchandak
Super User
Super User

Try

format(CONCATENATE(txt; CONCATENATE(nrCase; " €")),"##.###")
Nathaniel_C
Super User
Super User

Hi @Anonymous ,

 

When you have your measure up go to the Modeling tab and select the format for your measure.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

format.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

thanks @Nathaniel_C  but this wouldn't work here, (see screenshot below).  And the Dax equation is confuing me, have you tried it yourself? 

image.png

@Anonymous ,

or use Format

if you use DAX to create a measure for the field you are using you can wrap that in the format function, e.g.

Measure = FORMAT( SUM( Table[Sales]), $#,##0;($#,##0) )

 

The format function can take user defined formats as shown above (above is brackets for negative, comma separated dollar format.
For a bigger list of user defined function see here:

 

https://msdn.microsoft.com/en-us/library/ee634206.aspx





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.