Forum Discussion
blytonpereira
7 years agoHelper II
Concatanate Measure and Text string in DAX
I have a measure which calculates the percentage such as: X=a/b I then format the result as a % with 0 decimal places (so a whole number percentage) I then created a measure (Text string and result...
- 7 years ago
How about this:
Y = "MAPE " & FORMAT([X], "0%")
blytonpereira
7 years agoHelper II
Thank you that does work in some cases however in my case the value I want to display as an integer is a percentage.
So for example 29 % is a 0.29.
If I do put INT (Mymeasure) the result will be 0 as it rounds down to 0
So I need the value to display as 29% rather than 0 or rather than 0.2994543 etc.
Thank you
themistoklis
7 years agoCommunity Champion
How about this:
Y = "MAPE " & FORMAT([X], "0%")