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

how to add $ signs in my text box

hi all,

i have written the expression in my text box to caluculate =sum(revenue) it show the revenue 100000 ..i want me to add $ in the number how can i acieve this without adding another text box any help highly appreciable..

1 Solution

Accepted Solutions
Not applicable
Author

In your case

='$ ' & sum(revenue)

View solution in original post

15 Replies
Not applicable
Author

just add

'$ ' & expression

Not applicable
Author

In your case

='$ ' & sum(revenue)

Not applicable
Author

Use the Money function

For example

=money(Sum(revenue))

or

 

=money(Sum(Revenue),'$#,##0.00')  


to add the $ and format accordingly, result of your example would be $10,000.44

You can find other info on it under the online help, you just need to know there is a money() function to start with!

Richard

its_anandrjs
Champion III
Champion III

In Text object write like

=Money( sum(revenue), '$ #,##0 ', '.' , ',' )

Not applicable
Author

thanks for you quick reply it is working some more help if revenue is 10000.44444 i wont to decrese the decimals how to change

Not applicable
Author

You can use

=Money(sum(revenue)), '$#,##0' )

anandathome
Creator
Creator

='$'&money(sum(revenue),'##.##')

OR

=money(sum(revenue),'$##.##')

its_anandrjs
Champion III
Champion III

Use Num function like

Eg

=num(10000.44444 ,'#.###')

If you use Money then

=Num( Money( sum(revenue), '$ #,##0 ', '.' , ',' ) ,'#.###')

Not applicable
Author

'$' & (sum(ProjectedSales_modified) +(sum(ProjectedSales_modified) *($(Vprojected)/100)))

how to decrese the Decimals for the Above expression