Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Tell us which business and trade publications you read most regularly: RESPOND NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikeers
Creator
Creator

Data store condition

Is it possible to create a code in the load script that will make the "store" dependent on a certain condition?

So, for example:

If currdate = endofquarter date, then do:

Store TABLE_A into ....;

 

Else, do nothing.

Labels (2)
1 Reply
JHuis
Creator
Creator

Hi,

it depends how you calculate the currdate = endofquarter

But first you have to calculate the currdate as variabel

Let vCurrDate = Today();

let vEndOfQuarter= QuarterEnd(Today());

If vCurrDate =vEndOfQuarter then 

Store TABLE_A into ....;

end if;

 

i hope this helps?