Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kwhwan
Contributor II
Contributor II

Update Variable in Script and Trigger a reload

Hello,

I am working with a very huge database which often takes hours to load.  It is a database which would append daily records to it so that I can keep track of all the changes and historical data.

Therefore, in the load script I would include a statement in the load script editor like this to shorten the load time:

WHERE vRECORD_DATE = '2021-10-11'

However,  I would also like to make this a variable so that I can change it in the front end.

I am trying to take this approach

Let vRECORD_DATE = today();

However, everytime I update the variable using variable input and reload the data, it is still showing today()'s value.

 

May I know how to update the variable in the front end and trigger a reload on the sheet as well? (without going to the load script editor)

 

Thank you so much!

1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @kwhwan ,

Is there any specific reason for not using the Incremental load?

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @kwhwan ,

Is there any specific reason for not using the Incremental load?

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
kwhwan
Contributor II
Contributor II
Author

hello, thanks for the reply. I tried incremental load and it worked! Thank you!