Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
VaishnaviMogal2
Contributor III
Contributor III

variables with alternate state

Hi,

I have two tables one in alternate state 'state1' and one is in default state. I have created a variable to store selected vin value from alternate state table .

var1= GetFieldSelections({'state1'} vin) 

print this value in default table using

$(var1)

but this giving me result as dash (-). 

How can i get the selected vin value in default state or any other state table. any suggestions please reply.

Thanks.

 

Labels (4)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

This function has a different syntax with parameters. Try like:
GetFieldSelections( vin,',',100, 'state1') 

View solution in original post

3 Replies
tresesco
MVP
MVP

This function has a different syntax with parameters. Try like:
GetFieldSelections( vin,',',100, 'state1') 

VaishnaviMogal2
Contributor III
Contributor III
Author

@tresesco  It Worked! thanks.

I just want to ask 

only({state1} vin)

is also giving same result. could you please comment on both solution to understand better.

Thanks

Vaishnavi,

 

tresesco
MVP
MVP

@VaishnaviMogal2 if you select more than one then only() returns null, whereas with the getfieldselections() you would get multiple values separated by delimiter that you can treat accordingly as per your requirement