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()