Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello dear Qlik Community,
During data load it is possible to store files on drives. Every time data is loaded, file is stored.
'store DATA into 'lib://P-QLIK/data.csv'(txt,delimiter is ';');'
Is it possible to store file only once a week (for example only on Wednesdays)? How to write this in code?
Thanks
maasool
hi
you can do something like
if weekday(today()) = 2 then ///counting start from zero for monday in default mode
store DATA into 'lib://P-QLIK/data.csv'(txt,delimiter is ';');
end if
hi
you can do something like
if weekday(today()) = 2 then ///counting start from zero for monday in default mode
store DATA into 'lib://P-QLIK/data.csv'(txt,delimiter is ';');
end if
if weekday(today()) = 3 then (weekday can start at different days so might be 2).
store ..............
end if
Thank you both!