Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
prabunakil
Contributor III
Contributor III

Create a conditioning button to hide and display column field

Hi, seek everyone suggestion if i have a column field i want to hide it and only open when i click show button.

Capture.JPG

When user click show, enter password, only the column highlight yellow will be show.

This is a straight table in qliklview.

please advise.

15 Replies
prieper
Master II
Master II

Click on a button may trigger an Inputbox to show, into which a password to be entered.

The chart then will have a conditional view to compare this variable with a stored variable.

Peter

prabunakil
Contributor III
Contributor III
Author

Yes, how ever i donno how to do it. i believe is Macro.

prieper
Master II
Master II

no - not with macro, mainly

create a variable vShow with Value 0

create a variable vSystemPassword with your password

create a textfield. Under Properties - Actions - Add - External - SetVariable you set = NOT vShow

create an inputbox with vPassword and Show = vShow

create your table with conditional show: vPassword = vSystemPassword

Peter

prabunakil
Contributor III
Contributor III
Author

can u give me an example qvw file. thanks you.

prabunakil
Contributor III
Contributor III
Author

Do u have example of qvw file

Sergey_Shuklin
Specialist
Specialist

Hello, Prabu!

There are also some little hints should be done with couple of steps that Peter had mentioned.

PFA.

P.S.: The password is 12345.

prabunakil
Contributor III
Contributor III
Author

Hi Sergey

initially F3 column is hide or show?

Sergey_Shuklin
Specialist
Specialist

In instance above it's hided, but you can change conditions as you like. It doesn't make a big sense.

prabunakil
Contributor III
Contributor III
Author

the file u send me is show.