Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

marco_puccetti
Contributor

Detail Button

Hello I need to create two buttons, one to open a detail field in the same sheet and one to hide the previous field opened.

Is it possible?

Thank you

Marco

Labels (1)
11 Replies
Not applicable

Re: Detail Button

Marco,

Is your detailed field a dimension of the chart ?

if yes,

1) create a variable taht will contain 1 or 0

2) your button will do sth like : mod(vHide+1, 2) to switch from 0 to 1. You may also test the variable to modify the test : sth like = if(vHide=1, 'Hide', 'Show') & ' Detail'. You'll get only ONE button instead of two

3) In the chart (or table) in the dimensions tab, choose your Detail Dimension, Enable conditional = vHide

Fabrice

marco_puccetti
Contributor

Re: Detail Button

Ok, i intend to use this logic;

  1. Create a button and specify the action Mod(vHide+1,2);
  2. Create the text field and set the property (Show on Conditional Function);

But in the button actions which action have i to choose?

Thank you!

Marco

Not applicable

Re: Detail Button

Can you post a sample app?

Not applicable

Re: Detail Button

Marco,

External

Set Variable

Fabrice

sujeetsingh
Honored Contributor III

Re: Detail Button

Marco,

See the sample i am posting it is to easy way to achieve what you want.

Not applicable

Re: Detail Button

Hi,

PFA Hope i understand your requirement

marco_puccetti
Contributor

Re: Detail Button

ok Now is working!!

Thank you!

Marco

Not applicable

Re: Detail Button

Marco,

Tag it as solved for other people having the same question

Fabrice


marco_puccetti
Contributor

Re: Detail Button

What are Tags?

Marco