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

Why can't i use IF in Load Script

Can someone please tell me where my fault is?

Thanks

Unbenannt.PNG

3 Replies
oknotsen
Master III
Master III

Can you show us the rest of the code?

You can use IF statements in load scripts, just not in random locations.

May you live in interesting times!
PradeepReddy
Specialist II
Specialist II

it seems you are using "IF" condition out side the Load Statement; If so try like this..

IF (vBegin<>'MO') Then

  Let vCounter=vCounter+1

EndIF;

HirisH_V7
Master
Master

Hi,


What you are defining in your vCounter!

HirisH
“Aspire to Inspire before we Expire!”