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

Checkbox/Selection for a Field

Hi

I have a column(Column A) which has multiple numeric values:

Ex:

0

10

20

50

I have created a container object giving the ability for the user to chose any values from the above column which is working fine.

Now, i want to limit the user selection of this particular column in the container to chose 0 or not only

i.e.
i want a checkbox or someway where the user can check to include data with values 0 or data without values 0. No other data should be displayed.

How to achieve this?

Thanks

Taher

2 Replies
pooja_prabhu_n
Creator III
Creator III

Hi,

try creating check_box  column in the script

if([Column A]=0,'Data with values 0','Data without values 0') as Checkbox

You can use that column as listbox in front end.

che.PNG

Thanks,

Pooja

tresesco
MVP
MVP

Ideally, this should be handled using variables and input box. Create two expressions to calculate 'Data with 0' and 'Data without 0'. Then use that variable input to decide which expression is relevant for use input.