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: 
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

Updated new query now check

Then try with

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

Or

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

Note:- Or may be you have to use vice versa for values

arulsettu
Master III
Master III
Author

hi anand

here is the app

Not applicable

Arul,

Look at the true values of column 5 you can see that your expression is producing all negative values which you are masking by using the relative option, I would recalculate your percentages to be true values and this will work.

arulsettu
Master III
Master III
Author

ok

its_anandrjs
Champion III
Champion III

In your application some values are not calculated because no values or may be it is negatives otherwise formula is correct or you can use Coumn(5) check your expression it is column(1) otherwise all seems fine. Check same formula with vise versa with < or > with formula.

Regards