Forum Discussion
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; " €"))
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
- Nathaniel_CCommunity Champion
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- Nathaniel_CCommunity Champion
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: - AnonymousNot 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?
- amitchandakSuper User
Try
format(CONCATENATE(txt; CONCATENATE(nrCase; " €")),"##.###")