Forum Discussion
Help with Card Data Type Formats
- Anonymous6 years ago
Hi BrendonHerbert ,
FORMAT operates on numeric values. So FORMAT(<value> ,"Standard") will display the value with thousand separators only if the value is of type numeric. In your case all the values are of type text, although the content is numeric. So this approach will not work.
You could change the measure as follows
var Parameter = "KPI target"
var Stage1 = LOOKUPVALUE( Your original expression)
var Stage2 = CONVERT (Stage1, DOUBLE)
return
FORMAT(Stage2, "Standard")
Check it out and let me know.
Cheers
CheenuSing
Hi BrendonHerbert ,
FORMAT operates on numeric values. So FORMAT(<value> ,"Standard") will display the value with thousand separators only if the value is of type numeric. In your case all the values are of type text, although the content is numeric. So this approach will not work.
You could change the measure as follows
var Parameter = "KPI target"
var Stage1 = LOOKUPVALUE( Your original expression)
var Stage2 = CONVERT (Stage1, DOUBLE)
return
FORMAT(Stage2, "Standard")
Check it out and let me know.
Cheers
CheenuSing
- BrendonHerbert6 years agoRegular Visitor
Hi Anonymous and cjayaneththi ,
thank you both for your responses.
Anonymous your approach worked perfectly!!
thank you very much