Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Format as currency

Dears,

How can I format a text object value as Currency (in USD)?

The problem is that today the value is presented like: 123456789.00 (coz I created a formula to create the decimal value). And I would like to present the value like: USD 123,456,789.00

How can I do it?

Thanks for your attention

Best regards

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Hi,

If you use num fuction it will be only a mask for you numbers. There is no difference for text objects, but you could use the exactly same expression on a chart and it would be recognized as a number when you export it to excel (instead of a string).

try:

=NUM( sum(value),'USD #,##0.00', '.',','),

where sum(value) can be replaced by any of your expressions.

View solution in original post

4 Replies
ashfaq_haseeb
Champion III
Champion III

Hi kelly.

In your text box just try the following code to append usd as first.

='USD '&

sum(Sales)

Hope that helps

Regards

ASHFAQ





erichshiino
Partner - Master
Partner - Master

Hi,

If you use num fuction it will be only a mask for you numbers. There is no difference for text objects, but you could use the exactly same expression on a chart and it would be recognized as a number when you export it to excel (instead of a string).

try:

=NUM( sum(value),'USD #,##0.00', '.',','),

where sum(value) can be replaced by any of your expressions.

Not applicable
Author

Thanks Erich.

It really solved my problem!

Not applicable
Author

Hi,

If I understood your problem here is the solution.Let me know the query if any...

'USD'&NUM((USD),'###,###,###.##')

Thanks & Regards

Jai