Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Macro to toggle between straight tables

Hi, Is it possible to have a macro which when you click on it, it toggles between different straight tables? So basically hides one then another one appears with in the same place?

Thanks

1 Solution

Accepted Solutions
Not applicable

Hi Drago, as you can see in the qvw enclosed, it doesn't really matter the type of chart or dimensions within each chart, the logic behind is done in the show conditional option under the layout tab.

Hope this helps.

Regards

View solution in original post

3 Replies
Not applicable

Hi Drago, enclosed you will find and example that solves your question. Pay special attention to:

- The Variable is visible

- The action within the toggle button. Which basically toggles the value on the variable.

- The property show->conditional under the Layout tab in both tables.

Regards

ivandrago
Creator II
Creator II
Author

Nice tip Ivan, but the the two tables I want to toggle against one is a pivot and one is a straight table with different field names, would this be possible?

Not applicable

Hi Drago, as you can see in the qvw enclosed, it doesn't really matter the type of chart or dimensions within each chart, the logic behind is done in the show conditional option under the layout tab.

Hope this helps.

Regards