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

dynamic button

hi every one

i have 3 button in my dashboard , and each button related to 4 chart

i want when i select each button , related chart show

how can i do this ?


best regards

hamide

1 Solution

Accepted Solutions
HirisH_V7
Master
Master

Hi,


Check  this,

    Button -  action - Set Variable ->vhide

Value:

    =If(vhide = 0, 1, 0)

In chart, use vhide variable  in Layut-conditional  - show = vhide


QlikView App: Show and Hide Windows Dynamically

QlikView App: At The Qlik Of A Button


PFA,

Hope this helps,

Regards,

Hirish





HirisH
“Aspire to Inspire before we Expire!”

View solution in original post

3 Replies
mdmukramali
Specialist III
Specialist III

Dear Hamide,

You have to create a variable

and on the button you need to set the variable value.

and on the chart also you need to set the values for the variable

Thanks,

Mukram

HirisH_V7
Master
Master

Hi,


Check  this,

    Button -  action - Set Variable ->vhide

Value:

    =If(vhide = 0, 1, 0)

In chart, use vhide variable  in Layut-conditional  - show = vhide


QlikView App: Show and Hide Windows Dynamically

QlikView App: At The Qlik Of A Button


PFA,

Hope this helps,

Regards,

Hirish





HirisH
“Aspire to Inspire before we Expire!”
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Or if you want only a single (or sometimes two, 3 buttons and 4 charts) chart to appear at any time, let each button set the same variable to either 1, 2, or 3. For example, add an External action of type "Set Variable", enter the variable name in the top field (e.g. vVariable) and a single digit value in the Value field.

In your four charts, select the Conditional (show) field in Properties->Layout and enter an expression like:

vVariable = 1

or 2, or 3 depending on which button should display which chart(s). With this technique, you can even let each button display 4 charts (12 in total) if that is what you want to do.

Peter