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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text Formatting for Text Field Expression

Is it possible to format the result of an expression in a text field?  I would like the output to be in a currency format rather than just a regular number with unlimited decimal places.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

Then use the Num() with the format you want. Say the value is 10000 and you want to represent it like "$10,000" or the value is -2300 and you want to represent it like "($2,300)", then the format should be:

=Num(Sum(Sales), '$#,##0;($#,##0)')

Hope that helps.

Miguel

View solution in original post

5 Replies
Miguel_Angel_Baeyens

Hi,

Yes, you can use the Money() function, or even the Num() function like this:

=Money(Sum(Sales))

Hope that helps.

Miguel

Not applicable
Author

and what if id like the currency without the pence?

Not applicable
Author

Num(Sum(Sales),'£#,###')

Miguel_Angel_Baeyens

Hi,

Then use the Num() with the format you want. Say the value is 10000 and you want to represent it like "$10,000" or the value is -2300 and you want to represent it like "($2,300)", then the format should be:

=Num(Sum(Sales), '$#,##0;($#,##0)')

Hope that helps.

Miguel

Not applicable
Author

Miguel thats excellent, thank you so much for your help.