Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is IF statement supports.

Hi,

My data is from SYBASE- Database. So is IF statement will support at script

Thank you.

1 Solution

Accepted Solutions
Not applicable
Author

The IF statement is part of QlikView Engine. So using the Preceding Loading feature is really transparent what Database Server you use.

ie:

QlikViewTable:

LOAD code, IF (flag="Y","YES","NO") as FLAGGED;

and then

SQL SELECT code,flag from SybaseTable;

Note above that the preceding loading means the LOAD is just before the SQL statement and terminated with semicolon ; just before the SQL keyword.

View solution in original post

2 Replies
anbu1984
Master III
Master III

Check the reply in this thread

Case statement Replacement

Not applicable
Author

The IF statement is part of QlikView Engine. So using the Preceding Loading feature is really transparent what Database Server you use.

ie:

QlikViewTable:

LOAD code, IF (flag="Y","YES","NO") as FLAGGED;

and then

SQL SELECT code,flag from SybaseTable;

Note above that the preceding loading means the LOAD is just before the SQL statement and terminated with semicolon ; just before the SQL keyword.