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: 
Nocto
Contributor III
Contributor III

Condtional Show based on a Variable

Hey guys,

i created a Variable which has the two different strings in it which are'FZ' or 'Fach' and i created two buttons. one inserts FZ and the Other overides it and inserts Fach

I created A textbox with a picture and this picture shall show when the Variable has FZ in it.

how do i do that?

I looked in the Layout tab on conditonal show but:

vChangeProcessOwner = 'FZ' wont do it, because when the variable has Fach in it, the picture dont hide.

 

 

3 Replies
chrismarlow
Specialist II
Specialist II

Hi,

When you say vChangeProcessOwner = 'FZ' do you mean exactly that in Show/Conditional box. Have you tried =vChangeProcessOwner = 'FZ'?

Cheers,

Chris.

QFabian
MVP
MVP

Hi @Nocto , try creating a table in script :

FilterField:
LOAD * INLINE [
FilterField
FZ
FACH
];

then put that as filter, and create the text box, taking care in the expression to show/hide the image :

QFabian_2-1605569882962.png

 

'FACH' doesnt show it :

QFabian_0-1605569831621.png

FZ does :

QFabian_1-1605569853876.png

 

 

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.
MayilVahanan

Hi @Nocto 

PFA.

Variable which has the two different strings in it which are'FZ' or 'Fach'.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.