Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

How to limit the pivot table expressions

I have a pivot table in which below are dimensions and expressions:

Category (Dimension)

Region (Dimension)

Area (Dimension)

Total Cost (Expression)

Total Vol (Expression)

By default, pivot table will show both expression but I want, when user expand area dimension, then only he/she will be able to see the total cost (Expression) otherwise Only Total Vol should be visible.

1 Solution

Accepted Solutions
ecolomer
Master II
Master II

the file qvw, without white() text, and expression with dimensionality()=0

View solution in original post

5 Replies
ecolomer
Master II
Master II

Is that you need??

P_271176.png

vipingarg23
Creator
Creator
Author

Thanks Enrique for your quick answer. You are almost right but Vol expression should not be visible at all. Here it is visible as blank. Blank column should not be visible. Whole column should be disappear. I am trying to do this through dimensionality() but it is not working.

ecolomer
Master II
Master II

Try with this expression:

=if(dimensionality()=0,sum(Vol),null())

ecolomer
Master II
Master II

the file qvw, without white() text, and expression with dimensionality()=0

vipingarg23
Creator
Creator
Author

Perfect....Thanks Enrique for your help..