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: 
danialier
Creator III
Creator III

Activate two fields in a text box

Hello,

I have a text box in Sheet A. By clicking this text box I want to move to Sheet B and by selecting two fields (product Z + product Y) on that Sheet B.

In order to activate Sheet B by clicking the text box in the Sheet A I just added an action -> activate sheet in this text box. That's ok.

In order to activate product Z in Sheet B by clicking the text box in the Sheet A I just added an action -> select in field (search string -> product Z) in this text box. That's ok.

However, the question is: how I can also activate product Y ???

Thanks,

dani

1 Solution

Accepted Solutions
sudeepkm
Specialist III
Specialist III

Please Try like below in Select in field action:

Field

Region (Remove equals sign from here just the field name)

(In my example Field name is Region)

Search String

='("ASIA PACIFIC" | "LATIN AMERICA")'

selectinfield.png

View solution in original post

8 Replies
Not applicable

in the action for activating the products you have to add the searchstring like this =('product Z'|'product Y')

regards,

MT

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

I assume you mean two values from one field. In the select in field action use the syntax (A | B) in the search string.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
danialier
Creator III
Creator III
Author

Hi MT,

I tried and it says “Error in expression” –see below–… Do you know why ?

Thks,dani

Not applicable

try it with the = at the beginning!!

danialier
Creator III
Creator III
Author

Hi Magdalena,

I already tried, see picture attached.

Thks,dani

sudeepkm
Specialist III
Specialist III

Please Try like below in Select in field action:

Field

Region (Remove equals sign from here just the field name)

(In my example Field name is Region)

Search String

='("ASIA PACIFIC" | "LATIN AMERICA")'

selectinfield.png

Not applicable

take away the = from the field name then it should work

danialier
Creator III
Creator III
Author

Excellent !!!!!!!! It works now. many thanks !!!