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

Enable Conditional Dimensionality Pivot table

Hello

In a pivot table I want to show or to hide a column depending on the dimensionality. My condition is if(Dimensionality()=2,1,0)
. But it doesn't work as I expect. I want the column ShowOrNoShow is showed when the dimensionality = 2

ShowOrNoShow.png

Thanks in advance

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,


Dimensionality won't work in Conditional option, it works only in expression.

Regards,

Jagan.

View solution in original post

6 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,


Dimensionality won't work in Conditional option, it works only in expression.

Regards,

Jagan.

Not applicable
Author

Hi.

Many thanks for the prompt reply.

Any alternative solution for achieving the same thing?

Regards

jagan
Partner - Champion III
Partner - Champion III

Hi,

I think it is not possible.

Regards,

jagan.

Not applicable
Author

Ok. Thank you very much.

I have read this another message and I understand the point of view.

Does anyone have an idea of why Dimensionality() does not work with the Expression Conditional?

What I want is to show the column if some node of level 2 is expanded. I can not do it with dimensionality

Perhaps in another thread.

Clara

Anonymous
Not applicable
Author

I've made fields white-on-white to hide them at certain levels.

stefano6310
Contributor
Contributor

I understand what is written in http://community.qlik.com/message/400484#400484 but ...

If I use Max () inside the if
if(Max(Dimensionality())=2,1,0)

I always have on the all rows the same value which is the deeper level of my table.

But also in this case the Conditional option does not work. I think this is a limit of Qlik