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.
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
Try
format(CONCATENATE(txt; CONCATENATE(nrCase; " €")),"##.###")
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
Proud to be a Super User!
thanks @Nathaniel_C but this wouldn't work here, (see screenshot below). And the Dax equation is confuing me, have you tried it yourself?
@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
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |