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: 
Not applicable

conditional Enable and Disable of expression

Hi All,

I have requirement as follows.

in my application i m using a straight table with expressions. These expressions are the calculations for allowances for employees. So i am having a list box with all the allowances Name.

Now the requirement is.

when user select an allowance from the list box ,then only the particular expression should gt enabled or show ,all others should be hidden. at a time user can select more than 1 expression also. so accordingly it should display..

How can i achieve the same?please suggest..

Thanks..

10 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi Reena,

Then use this expression

=If(GetSelectedCount(Allowance) > 0, SubStringCount('|' & Concat(distinct Allowance, '|') & '|', '|Allowance1|'))


Hope this helps you.


Regards,

Jagan.