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: 
Anonymous
Not applicable

IF Statement

Hi All

How can i do the following in the script?

if TransType = '11','12','13' TransType

so i only want data from the table if TransType is 11, 12 13

Thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be use Where Statement:

LOAD FieldName

FROM Table

Where Match(TransType, 11, 12, 13);

View solution in original post

5 Replies
sunny_talwar
MVP
MVP

May be use Where Statement:

LOAD FieldName

FROM Table

Where Match(TransType, 11, 12, 13);

alexandros17
Partner - Champion III
Partner - Champion III

In the where condition :

Where ... Wildmatch([TransType], '11','12','13') > 0

Anonymous
Not applicable
Author

....Again Thanks!!!

puttemans
Specialist
Specialist

IF(TransType > 10 and TransType < 14, DO SOMETHING)

sunny_talwar
MVP
MVP

No problem