Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot table and button

   Hi,

I would like build a button who enable or disable a metric in a pivot table.

do you know how to do that?

Example ;  Pivot table

Dim1, Dim2, Metric1, Metric2

When the user clic on the button the pivot table structure become:

Dim1, Dim2, Metric1

1 Solution

Accepted Solutions
Not applicable
Author

Ah. Well You could create a new table then and show hide each table based on the button.

Version 11 allows for conditional expressions, which would be easier.

For either the button would have an action for set variable.

you could use an if statment like this to set it:

=if(vFlag=0,1,0)

Then the condition would be:

$(vFlag)=1

View solution in original post

3 Replies
Not applicable
Author

Which version are you using?

Not applicable
Author

Version 10

Not applicable
Author

Ah. Well You could create a new table then and show hide each table based on the button.

Version 11 allows for conditional expressions, which would be easier.

For either the button would have an action for set variable.

you could use an if statment like this to set it:

=if(vFlag=0,1,0)

Then the condition would be:

$(vFlag)=1