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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot table hiding a expression row if the value is 0

Hi I am using a pivot table.

I have 6 or 7 expressions that display my totals, is there a way I can hide a row if the value is 0? or if the total is zero?

1 Reply
Not applicable
Author

If all the expressions equal zero (or null) and you have Suppress Zero Values checked, then the line won't show up. All expressions have to be zero for the line to be suppressed.

For the lines that are showing a value, you could use something like:

If(TOTAL_VALUE > 0, RegExpression)


Use whatever logic for the total value that you need per your application. For RegExpression, put in the expression that you are using. If your TOTAL_VALUE is zero, it will resolve to null. If you do this on all of your expressions, the line will be hidden unless that TOTAL_VALUE is greater than 0.