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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
knightwriter
Creator III
Creator III

Text Object. Num query / rounding up

     Hi All,

I have created a text box object to a sum a number in USD. I can get the sum to work and I have inucluded =num(sum(sales), '$##,###.')

How do I round this number up? ie $31,123,123 to $31m?

Many thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

=Num(Sum(sales)/1000000, '$##,###.') & 'm'

View solution in original post

4 Replies
sunny_talwar
MVP
MVP

May be this:

=Num(Sum(sales)/1000000, '$##,###.') & 'm'

sunny_talwar
MVP
MVP

Or may be this:

=Dual(Num(Sum(sales)/1000000, '$##,###.') & 'm', Num(Sum(sales), '$##,###.'))

knightwriter
Creator III
Creator III
Author

Ah yes! Didnt even think to /1000000!

Thank you sunindia

sunny_talwar
MVP
MVP

No problem.

Glad I was able to help.

Best,

Sunny