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: 
Not applicable

Conditional LOAD with IF()

Problem:

I want to load a qvd-document with a condition.

If the month is january then he has to load qvd1 else an other qvd.

If(month=1,

Load ...From qvd1

else

Load ... From qvd2

)

I don't know the right syntax for QlikView.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

it will be something like this:


if month(today()=1 then
table:
load * from qvd1.qvd;
else
table:
load * from qvd2.qvd;
end if


View solution in original post

2 Replies
Anonymous
Not applicable
Author

it will be something like this:


if month(today()=1 then
table:
load * from qvd1.qvd;
else
table:
load * from qvd2.qvd;
end if


Not applicable
Author

Thanks Michael!