Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
danielact
Partner - Creator III
Partner - Creator III

Pivot Table collapsed/expanded indicator?

Is there a way to indicate whether a dimension is expanded or collapsed in a Pivot Table? Can it be used in another dimension, or only in an expression?

Labels (1)
5 Replies
Anonymous
Not applicable

yes,in pivot table , in the presentation tab select allow pivoting and unselect the option always expanding

danielact
Partner - Creator III
Partner - Creator III
Author

I didn't mean a visual indicator, I meant something that can return a true or false value.

chematos
Specialist II
Specialist II

Dimensionality() function returns the number of dimensions expanded, I think you could use it to get near to your purpose

danielact
Partner - Creator III
Partner - Creator III
Author

Dimensionality won't work in a dimension, only in an expression. It also won't tell you which field was collapsed.

chematos
Specialist II
Specialist II

Sorry, I didn´t undesrtand your question.

I don´t know how to make that, but I supose you need to get the properties of the object where the dimension is and may be with GetObjectField() you could get something but I don´t really know if is possible to do it .....

Good luck