Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
brich
Partner - Contributor
Partner - Contributor

Hide columns based on column label

I am using MasterScript to dynamically add columns to a table and I would like to have certain columns display a link to images outside of QLIK. I was able to create a column that displays based on if the field selections, but I need the dynamic columns to selectively hide based on the selected column label.

I'm using expressions like this to show data and display the columns.

Field and label value expression

='$(=FirstSortedValue(%DIY_LABEL%,%DIY_DIM_NUM%,2))'

Show column if expression

GetSelectedCount([%DIY_LABEL%])>=2

 

Is there a way where I can do something similar to this pseudocode to get the selected columns label to add logic inside the show column if expression to hide columns that match a list of labels?

FirstSortedValue(%DIY_LABEL%,%DIY_DIM_NUM%,2).getLabel()

 

 

Labels (2)
0 Replies