Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ashokraju
Contributor II
Contributor II

if condition

how to write if conditions in qlikview

1 Reply
Gysbert_Wassenaar

That depends. In expression you use this: If( 1 < 2, 'yes it is', 'no it''s not')

In the script you may need another form:

If 1 < 2 Then

     ResultTable:

     LOAD 'Yes' as Result Autogenerate 1;

Else

     ResultTable:

     LOAD 'No' as Result Autogenerate 1;

EndIf


talk is cheap, supply exceeds demand