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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

percentage issue

in my straight table i am showing percentage like this

Capture.PNG.png

i used this code to show symbols

if(Column(5) < 1,'▼'&

Column(5) > 1,'▲')

but the result is 0.

what is my mistake?

14 Replies
its_anandrjs
Champion III
Champion III

Use image in place of the symbols like and change your expression like sample expression

if(Column(5) < 1,'qmem://<bundled>/BuiltIn/arrow_s_r.png','qmem://<bundled>/BuiltIn/arrow_n_g.png')

Note:-

1.And make the expression as Image from Expression properties >> Display option >> Representaiton >> select (Image)

2. And then Image formatting >> Keep Aspect

its_anandrjs
Champion III
Champion III

You can also use this symbols but change your expression as image

if(Column(5) < 1, '▼','▲')

Note:-

1.And make the expression as Image from Expression properties >> Display option >> Representaiton >> select (Image)

2. And then Image formatting >> Keep Aspect

Not applicable

change your if condition as below:

if(Column(5) < 1,'▼','▲')

arulsettu
Master III
Master III
Author

result is

Capture.PNG.png

its_anandrjs
Champion III
Champion III

Try with this

if(Column(5) < 1, '▼','▲')

arulsettu
Master III
Master III
Author

below 6 i need show down arrow and above 6 need to show up arrow

its_anandrjs
Champion III
Champion III

Ok problem here is the values are in % then change your expression like multiple expression by 100

if(Column(5) * 100 < 1, '▼','▲')


Or


if(Column(5) * 100  < 1, 'qmem://<bundled>/BuiltIn/arrow_s_r.png', 'qmem://<bundled>/BuiltIn/arrow_n_g.png')

arulsettu
Master III
Master III
Author

hi Anand

below 6% down arrow

above 6% up arrow

now it showing up arrow for all percentage

arulsettu
Master III
Master III
Author

for all down arrows showing now

for this if(Column(5) * 100 < 1, '▼','▲')