Qlik Community

Ask a Question

QlikView Administration

Discussion Board for collaboration on QlikView Management.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
marco_puccetti
Partner
Partner

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

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
Partner
Partner
Author

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

Can you post a sample app?

Not applicable

Marco,

External

Set Variable

Fabrice

sujeetsingh
Master III
Master III

Marco,

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

Not applicable

Hi,

PFA Hope i understand your requirement

marco_puccetti
Partner
Partner
Author

ok Now is working!!

Thank you!

Marco

Not applicable

Marco,

Tag it as solved for other people having the same question

Fabrice


marco_puccetti
Partner
Partner
Author

What are Tags?

Marco