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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
paulsparrow
Contributor III
Contributor III

IF Else Not Working

Cant seem to get this to work.  Giving me an error of "Script line error: ELSEIF

IF $(vQVDExistsFile) = -1 THEN

  CompileFile:

  LOAD

    *

  FROM

    $(QVData)\Enterprise\Enterprise_GA_LastClick.qvd  (qvd);

ELSE

  SET vDateLessOne = 20160000 ;

END IF

1 Solution

Accepted Solutions
sunny_talwar

Are you using ELSEIF or ELSE? If its ELSEIF, you need to provide another condition. Check out this link: If..then..elseif..else..end if ‒ QlikView

Capture.PNG

View solution in original post

1 Reply
sunny_talwar

Are you using ELSEIF or ELSE? If its ELSEIF, you need to provide another condition. Check out this link: If..then..elseif..else..end if ‒ QlikView

Capture.PNG