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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to restrict some fields from the group of a listbox without selectable

Hi all,

Here is my problem.

If i select Defects Listbox then all the variables in the Group listbox must be blocked except 'Result'.Only result is made available for selection.

here i am attaching one sample file.Please find this.

Thanks for any help

2 Replies
Not applicable
Author

Try this:


Def0:

Load * Inline

[Group1

A

B

C

D

Result

E

];

Def1:

Load * Inline

[F2

Defects

];

Def2:

Load *,

if(Group1='Result',1,0) as Flag

resident Def0;

drop table Def0;

Def3:

Load

*,

if(F2='Defects',1,0) as Flag

resident Def1;

drop table Def1;

Not applicable
Author

Hi Jain,

Thanks for your reply

It is some what correct.

Here i am attaching sample file .Please find this.

These are the 3 cases like i want

1->if i am selecting Defects group listbox only ,I need only 'Result' of the Group1 listbox data should be selectable.(It is ok.)

2->If i am selecting NoDefects group listbox only ,I need to get all the Group1 listbox data should be selectable.

3->If i am selecting both Defects and NoDefects listboxes then i need only 'Result' of the Group1 listbox data should be selectable.(It is ok)

Thanks once again..