Forum Discussion
Dom87326
4 years agoHelper II
Dynamic number format for Card visual
Hello, I want to set a dynamic format for Card that shows Revenue amount. Revenue =
VAR _sumRev =
CALCULATE ( SUM ( 'Fact'[Revenue] ) )
RETURN
FORMAT (
_sumRev,
...
- 4 years ago
Dom87326 , you should check like
return
Switch( True(),
_sumRev >1000000000, format(_sumRev/1000, "### ### ### \K")
_sumRev&""
)
Dom87326
4 years agoHelper II
Hey amitchandak ,
Thanks for you reply, however format functions doesn't recognize specified format string "### ### ### \K" and I get text type result below for number <1000000000:
Is it possible to amend that and by adding currency symbol in the beginning and removing decimals?
My locale is set to English (UK)
amitchandak
4 years agoSuper User
Dom87326 , Add currency symbol in the format or append as string before