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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
johnpaul
Partner - Creator
Partner - Creator

How to hide zero values in a pivot table chart

I have been researching this for a while, but haven't found out how to do.

I want to hide values in a column that are zero.

One way to do it is to use the Visual Cues to set the color to be white when the value is zero or below. The problem with this is that if the value is negative, then it won't be visible.

2011-10-01_08-55-33.png
Any ideas? Thanks, Jp.
14 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The header line in a pivot table takes its display cues from the first line, so if the first line is set to display white, so will the header. You may be able to get around the problem using cell custom formats.

Or if you will allow the first row to display the zero, then use

If( [Non Bill] = 0 And RowNo() > 0, White( ) )

Not quite what you want, but perhaps the best possible if you don't want to use the space approach.

Hope this helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
its_anandrjs
Champion III
Champion III

Hi,

Ok i got it for this you want in header the Sum value that is 4 is display in pivot table if so then put

Sum( HrsBill ) in pivot chart only because pivot chart works differently because in pivot chart the Sum value depend on dimension that you put so after putting Sum( ) function

Go to presentation tab -> Select Dimension and Expression -> that is ColA in example if you have working application do it same there -> and then check mark Show Partial Sums -> Subtotals on Top / Subtotals at Bottom then you see the Column Heading.

See the attached sample file with different variation.

HTH

Rgds

Anand

Not applicable

Hi,

You can set the expression like below to hide "0" values.

if(Hours=0,'',Hours)

if(HrsBill=0,'',HrsBill)

if([Non Bill]=0,'',[Non Bill])

Hope you were looking for the above expression.

Thanks,

Sajeevan

Not applicable

thanks you

Not applicable

Thanks a lot, it can solve !!