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: 
AndersLiu
Contributor
Contributor

How can I hide the column in Pivot table

捕获.PNG

2 Replies
GaryGiles
Specialist
Specialist

In the properties panel of your pivot table, look for the option of "Show column if".  In the expression box for "Show column if", you could use something like this:

=if(not isnull(expression),1,0)

Replacing expression with the expression for the measure.  In this way, if the values are Null, the column will be hidden.

AndersLiu
Contributor
Contributor
Author

Thank you GrayGiles,This Colum expression need to display  in one categories。But in my  structure it has display  in four categories。


捕获.PNG

And my expression:

Pick(Match(BrandColumn ,'Evolution Index')

,MaxString({<[Market.Product]={$(vNonVBPBrand)}>}[Target EI])

)