Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
zied_ahmed1
Specialist
Specialist

display arrows with conditions

Hello,

I have Two Fields Status and Trend ,

Trend_Statuts.png

I do this in a script

   //---Stable

     

      if("Trend"='Stable' and "Status"='On Track',1,0) as Stable_OnTrack,

      if("Trend"='Stable' and "Status"='Minor Variance',1,0) as Stable_Minor,

       if("Trend"='Stable' and "Status"='Significant Variance',1,0) as Stable_Significant,

      

       //---Improving

      

         if("Trend"='Improving' and "Status"='On Track',1,0) as Improving_OnTrack,

      if("Trend"='Improving' and "Status"='Minor Variance',1,0) as Improving_Minor,

       if("Trend"='Improving' and "Status"='Significant Variance',1,0) as Improving_Significant,

      

       //degrading

      

        if("Trend"='Degrading' and "Status"='On Track',1,0) as Degrading_OnTrack,

      if("Trend"='Degrading' and "Status"='Minor Variance',1,0) as Degrading_Minor,

       if("Trend"='Degrading' and "Status"='Significant Variance',1,0) as Degrading_Significant,

The objectif is is to display an arrow with every condition like this :

Objectif.png

Thanks for help

omarbensalem

6 Replies
wade12
Partner - Creator II
Partner - Creator II

qlikview or qlik sense?

zied_ahmed1
Specialist
Specialist
Author

Qlik Sense

wade12
Partner - Creator II
Partner - Creator II

in qlik sense you can display coloured arrows in a kpi chart using the built-in colour and symbol options like this:

!Capture.PNG

zied_ahmed1
Specialist
Specialist
Author

Thank you but there is not a solution I need just an arrow without value

OmarBenSalem

do the same logic of if then, and paste an arrow directly

if(condition, 'U+21E7.gif' )

and color it by expression, with same logic:

if(conditon, 'red')

and u got ur arrows

here's a list of arrows u can copy and paste :

Arrow (symbol) - Wikipedia

wade12
Partner - Creator II
Partner - Creator II

use text & image chart and import arrow image.