Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
shounendra_kuls
Contributor
Contributor

Dynamically hide or show a column in Qlik sense Table and Pivot chart

Hello all,

We are having a requirement where in we want to conditionally hide a particular column from display of a pivot or a table report

.

We have implemented conditional calculation based on a field selected by a user, if the user does not selects that field then no calculation will be done and we are populating Null value.

Following code has been used :-

If (GetSelectedCount([Measures]) = 0 or WildMatch(GetFieldSelections([Measures]), '*Actuals*'), (Sum(Actuals) , Null())

However now we need to hide this column if the condition does not satisfies in the if expression.

Please suggest if you have some approach or you have used some extensions to implement the such a requirement.

Thanks in advance.

Shounendra Kulshreshtha

3 Replies
shounendra_kuls
Contributor
Contributor
Author

Well Did not get any reply, however we found a way to dynamically hide or show the column in a Pivot, if you can use the Pivot table instead of a normal one, then by adding the column to hide in column section of the Pivot.

The user can filter and hide the columns.

eduardoheres
Contributor III
Contributor III

how did you do it?

harsh44_bhatia
Creator
Creator

How did you get this. Could you please share some insight on this and on which QS version