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: 
Qlik_Enthu
Creator II
Creator II

conditional show/hide of object based on table value

hi all,

I have a requirement to show an object ( nothing but the image of batch completion status - green, yellow or red) based on the values of two fields from a table. the query will return the two columns. based on the combination values I have to show any one of the three objects.

how to achieve this?

TIA!

Regards,

Sai

10 Replies
effinty2112
Master
Master

Hi,

I suggest deleting two of the icons and make the image on the remaining conditional. Something like:

Pick(

Match(-1,

GetSelectedCount(ERRORCOUNT)=0 and GetFieldSelections(CODE_VAL_CHAR)='B',

GetSelectedCount(ERRORCOUNT)=0 or GetFieldSelections(CODE_VAL_CHAR)='B',

-1,),

'qmem://<bundled>/BuiltIn/check_g.png',

'qmem://<bundled>/BuiltIn/exclamation_y.png',

'qmem://<bundled>/BuiltIn/cross_r.png')

Good luck

Andrew