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

How to do if then endif in script

Hi

Very new to qlikview. I run part of the script on wed and others on tues

I wanted to do a big if statement

if today's weekday = 'wed'

load table 1

else

load table 2

end if.

The script gave me a big error. any insight? Thanks.

1 Solution

Accepted Solutions
Not applicable

I think the only word missing is "then".

Try:

if today's weekday = 'wed' then

load table 1

else

load table 2

end if.

View solution in original post

1 Reply
Not applicable

I think the only word missing is "then".

Try:

if today's weekday = 'wed' then

load table 1

else

load table 2

end if.