Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Specialist III
Specialist III

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

 

 

 

QFabian
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.