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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Inherited field selection to alternate state

Hi All,

I have field (say A)which is selected from a list box whose status is inherited. When ever I select value A from list box same value should reflect in alternate state (XYZ). I know how to copy selection from one alternate state to another alternate state. But when I use the same thing for inherited to alternate I am not able to do that.

Please provide your valuable inputs.

Thank you,

Mohan

5 Replies
swuehl
MVP
MVP

If you inherite state from default state, try $ as set identifier in your copy action.

Not applicable
Author

I tired using $ as shown below but not working. Can you please provide an example.

=if(getfieldselections(Fieldname,';','$')='FieldValue',requiredvalue)

this expression I gave in alternate state list box.

swuehl
MVP
MVP

Not really sure what you want to achieve, but I think you will have issues calling the default set from the alternate state list box. Instead, create a variable

vTest:

=Only({$} Fieldname)

and change your field expression in the alternate list box to:

=If(vTest = 'FieldValue', requiredValue)

Not applicable
Author

It worked thank you!!

oknotsen
Master III
Master III

If your question is answered, please flag the correct answer Correct Answer.

May you live in interesting times!