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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikeers
Creator II
Creator II

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 III
Creator III

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?