Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can we hide a Expression Column

Hi Friends,

I am trying to hide the first column of expressions in pivot chart by using the following macro. But when we reload data again its hiding other column which now takes fist index. Can we tweak the macro so that it always hides the first expression irrespective of selections in pivot chat??

Public Sub hide

Call HideColumn("CH67",1)

End Sub

Private Sub HideColumn(ch,n)

   Set ch = activeDocument.getsheetobject(ch)

         ch.setpixwidth(n),0

   End Sub

Thanks

2 Replies
Anonymous
Not applicable
Author

You can hide the expressions without using a macro. Go to the expression tab. Check the conditional option and give the condition for which you want to hide it.

awhitfield
Partner - Champion
Partner - Champion

Hi Pavan,

On the Presentation Tab, select the expression and then click 'Hide' Column'

Regards

Andy