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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

IN operator (multifull conditions)

HI
which component supports IN OPERATOR in TOS?

Regards
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hello Shiva
Do you mean the In operator in sql? If so, both of tMysqlInput and tMysqlRow allow you to write it.
Best regards

shong
Anonymous
Not applicable
Author

Hi Shong,

i need to put multifull(more than 2) conditions in tfilterrow,
q:How can i put more than 2 conditons in tfilterrow?
q:tfilterrow supports sql IN operator?if supports,how?
Regards
Anonymous
Not applicable
Author

Hello
q:How can i put more than 2 conditons in tfilterrow?

You can use the advanced model, eg:
input_row.id>3&&input_row.name.equals("shong") //&& for and
or
input_row.id>3||input_row.name.equals("shong") // || for or
q:tfilterrow supports sql IN operator?if supports,how?

No, it is impossible.
Best regards

shong
Anonymous
Not applicable
Author

hi thank u for ur information!
q:can u possible to provide inputcontrols in mapping,like parameters in reports?

q:Which components supports for creating a variables in TOS?(other than tmap)

q:how to create variables in tmap?

Regards
Anonymous
Not applicable
Author

hi
how to change condtions dynamically?
regards
Anonymous
Not applicable
Author

Hello
q:can u possible to provide inputcontrols in mapping,like parameters in reports?

Sorry, it's not clear for me.
q:Which components supports for creating a variables in TOS?(other than tmap)
q:how to create variables in tmap?

tJava, tJavaRow, eg: globalMap.put("key", value); globalMap.put("key",input_row.name);
tSetGlobalVar: you can define a global var.
how to change condtions dynamically?

Just an simple scenario,
tFileInputDelimited(query the condition: id)--row1--tFlowToIterate--tMysqlInput--tFilterRow(set the condition dynamically, input_row.id>(Integer)globalMap.get("row1.id"))
Best regards

shong