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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
employe4_2
Contributor III
Contributor III

define a variable in laoding script

HI, 

i would like to define this variable into the loading script

: vSelectedVar=Subfield(GetFieldSelections(variable), ',', 1)

where the field ' variable' contain a string with multiple field name with a coma separator

i have 2 problemes

- i learned GetFieldSelection() is a 'chart function' is there a way to by pass that?

-how can i define vSelectedVar in my loading scrip if the field 'variable' isn't loaded yet or if i don't refere to it correctly ( like a resident load or something like that ?) 

thanks 

 

3 Replies
sunny_talwar
MVP
MVP

Where exactly are you going to make selection within variable field?

employe4_2
Contributor III
Contributor III
Author

it's just a simple csv file i load 2020-02-24_08h43_34.png2020-02-24_08h43_01.png

and i use the extention ' SimpleFieldSelect' developped by Matti Punkeri

i use subfield because i can select multiple variable 

sunny_talwar
MVP
MVP

So, all you are looking to do is to create a comma separated list from the values listed within variable field?