Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
souadouert
Specialist
Specialist

hinding expressions

Hello,

I have a pivot table, with 7 expressions the 7th expression is calculated by the 6 other expressions, and I want to hide them how

thank y

10 Replies
sunny_talwar

I used this

SUB Squeeze

  CALL HideColumn("CH02", 3)

END SUB

PRIVATE SUB HideColumn(ch, n)

  SET ch = ActiveDocument.GetSheetObject(ch)

  ch.SetPixWidth (n-1), 0

END SUB

Capture.PNG

See how the two columns are almost hidden in the below table.... I used two buttons just to show that in the sample app