Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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