Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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

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