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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditionally show/hide expression column based on the expanded or collapsed columns?

Is it possible to conditionally show/hide an expression column based on what dimension columns are expanded or collapsed?

2 Replies
agilos_mla
Partner - Creator III
Partner - Creator III

You should try the dimensionality() function. Read details in the QV help

Ex. Dimensionality() returns 2 if 2 dimensions are expanded in the pivot.

Grand Total has dimensionality() =0

Michael

swuehl
MVP
MVP

You are talking about a pivot table?

I don't think so.

You can use a condition in your expression using Dimensionality() / SecondaryDimensionality() to execute different code per dimension level (when using partial sums).