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: 
godfreydaniels
Contributor III
Contributor III

Hide expression in pivot table when all zero values

Hi,

I have a pivot table with months across the top and two expressions: one that  is monthly, and one that belongs only to months in which a quarter ends.  The users very much want to hide the quarterly measure except for those months for which it applies.  So instead of:

temp1.png

they want to see:

temp2.png

I have tried using 'Suppress Zero Values,' but that seems to suppress the dimension, not the expression. Is there any way to achieve what is shown?

Thanks

1 Solution

Accepted Solutions
5 Replies
sunny_talwar

This can be done using Pick(Match()) function with an island table. What you need is to have just one expression so that 'Suppress Zero Values' can take its effect

godfreydaniels
Contributor III
Contributor III
Author

Thank you Sunny; could you please elaborate on this?

godfreydaniels
Contributor III
Contributor III
Author

Thanks--that is a clever trick. It seems to break if a second expression is added.  Can it be made to work alongside other expressions that are visible for every month?  It is to go in an ad-hoc reporting table.

Thanks

sunny_talwar

You will have to program all your expressions within a single expression using pick(Dim.... As soon as your add two expressions, things might not work.