Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fully expand pivot table but enable collapse

A VBscript macro enables to create a Pivot Table. I use this line of code to have it fully expanded by default

props.TableProperties.PivotAlwaysFullyExpanded=true

However, then, the table cannot be collapsed anymore. How is it possible to Expand at creation, but still give the possibility to collapse it ?

2 Replies
Gysbert_Wassenaar

That's not possible without first setting PivotAlwaysFullyExpanded to false again.


talk is cheap, supply exceeds demand
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

You have raised many questions regarding QlikView macros using VBScript.

The fact of the matter though is that you are far better designing your app so that Macros are not required.  Generally this can be achieved by training users how QlikView works natively - rather than trying to force it to do things in a way that is non-standard.

Henric Cronström did a post that states that Macros Are Bad - I suggest you give it a read.  http://community.qlik.com/blogs/qlikviewdesignblog/2014/04/28/macros-are-bad

Regards,

Steve