Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nz_chris
Contributor II
Contributor II

Make Selections via a variable

Hello folks,

I am quite new in this business and have a rather simple issue here I guess.

I have two alternative states which result in one bar chart.

For the convenience of the user I want them to make selections in one state and I will transfer it to the other state via an action and also select them via an action. So far so good.

I have four filter panes of which I store the selected values semicolon separated into different variables for each dimension. My solution works for 3 of 4.

The dimension which does not work has alpha numerical values. I tried to work around by converting the values into text but this had not solved the problem.

Any suggestions to this matteer?

 

Labels (1)
12 Replies
nz_chris
Contributor II
Contributor II
Author

@vinieme12 

ty for your reply. I tried your suggestion

nz_chris_0-1678374479015.png

 

I am not quite sure but does this intend that the selection is empty? Cause I selected values.

vinieme12
Champion III
Champion III

can you post the variable definition also

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
nz_chris
Contributor II
Contributor II
Author

@vinieme12  sure

attached the Variables

nz_chris_0-1678779913069.png

State 1:

nz_chris_1-1678779949747.png

Value : 

=replace('''' & GetFieldSelections(Artikel) & '''',',',''';''')

State 2:

nz_chris_2-1678779990803.png

Value:

='($(=trim(GetFieldSelections(Artikel,';',,'Kundenauftrag'))))'