Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
inescastelhano
Partner - Creator II
Partner - Creator II

Suppress Column in pivot table

Hi all,

I have the following pivot table, and I would like not to show the column "Total" when it has no data. For example, april and may has no data, so I would like to hide these columns. I have "Suppress when value is null" and "Suppress zero values" checked.

1.PNG

Any help would be appreciated.

Thanks in advance.

Cheers,

Inês

1 Solution

Accepted Solutions
Gysbert_Wassenaar

As you can see the Total column has values in jan and feb. That's the reason it will be shown for all months. You can't suppress it. It will always be shown for all the month values as long as there's at least one value for one month.


talk is cheap, supply exceeds demand

View solution in original post

7 Replies
Gysbert_Wassenaar

As you can see the Total column has values in jan and feb. That's the reason it will be shown for all months. You can't suppress it. It will always be shown for all the month values as long as there's at least one value for one month.


talk is cheap, supply exceeds demand
amit_saini
Master III
Master III

Hi,

I think this is not possible in pivot table , but let's wait for experts suggestion.

Thanks,

AS

arthur_dom
Creator III
Creator III

You could do it by creating a big straight table. With 24 expressions ( 12 for total and 12 for total PY ), and on each expression create a conditional.  

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi

In pivot we can't hide columns. Try with Straight table.

inescastelhano
Partner - Creator II
Partner - Creator II
Author

So then can I hide the months which are after the current month? for example, not to show may, june, july, etc.

arthur_dom
Creator III
Creator III

Yup, but that will depend on your conditional

Gysbert_Wassenaar

That should be possible. You could simple select the months you want to see or change the expressions in your pivot table to exclude the months you don't want to see.


talk is cheap, supply exceeds demand