Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to format a expression label as currency?

Hi,

How to format a expression label as currency value ?

For example - 2000000 should be formatted to #,##0;(#,##0)

Appreciate your help

Thank you

6 Replies
jerem1234
Specialist II
Specialist II

You can use num(NUMBER, '#,##0;(#,##0)')


Hope this helps!

fred_s
Partner - Creator III
Partner - Creator III

Hi Dimple,

Maybe this way:

money(#,##0;(#,##0))

Not applicable
Author

The chart legend show the actual function name and number like num(30000000,'#,##0;(#,##0)')

I am trying to apply the formatting to the label in the expression but it display the actual script in it

Not applicable
Author

My bad sorry I will fix it , missed "="

fred_s
Partner - Creator III
Partner - Creator III

Is it possible to attach your file?

jerem1234
Specialist II
Specialist II

You need to add an =.

Try this in your label:

=num(30000000, '#,##0;(#,##0)')


Hope this helps!