Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Community,
I have a requirement where I want to re-run the task if the first reload did not extract the data and hence if KPI is not updated in the dashboard with the latest data.
Is there any way with which Qlik can read the KPI from the application and based on the result(KPI value is 0) can the same task be re-run again automatically?
Kindly help me if you have any thoughts on how to achieve this.
Thanks.
Hi.
can you store value of kpi in qvd file .
you can re run task next method:
create sub (function) with your code;
comparison new value of kpi with old value;
if new value has some change, restore in qvd file, end sub, end script;
else call your sub.
It's link for sub: https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptControlSt...
It's link for choice value: https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunc...
It's link for if/then/else/end if: https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ConditionalF....
Hi Timario,
Thanks for your input.
How can we store a KPI(calculated in the front end) in a QVD? And do you think it execution will go in loops if the data is not updated in each extraction?
Thanks.