Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

Displaying figure in text box as %

Hi all,

I have the following expression in a text box:

sum  ( {<[Stock Movement Reason Code] ={3, 5}>} StockQty)/Sum({$<[Stock Reason]=, Dept-={'U'}>}SalesValue)

Can someone tell me how i can display this a % please?

1 Solution

Accepted Solutions
jedgson
Creator
Creator

place the following around the above code:

num( <expression>, '##.00%')

Remove or add the zero's after the decimal depending on the accuracy you need.

Jay

View solution in original post

3 Replies
jedgson
Creator
Creator

place the following around the above code:

num( <expression>, '##.00%')

Remove or add the zero's after the decimal depending on the accuracy you need.

Jay

Not applicable

Hi Chris

use num function where you can specify the format , like this :

=num(your expression, '0.00 %')

Regards

Gilles

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Thanks both, they both worked..