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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
jp_afc
Contributor II
Contributor II

Flag first upload of each month

To my app i upload twice a month. The first upload isnt always on the 1st of each month it can be on the 2nd/3rd and so on.

Ive created qvd's to store this.

How can I flag the first upload of each month?

Labels (3)
1 Reply
JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @jp_afc 

I would just build a test for testing the qvd. 

The code is QvdCreateTime('File.qvd').

So something like 

LET zListqvdexists=isnull(QvdCreateTime('File.qvd'));  // if qvd exists then 0 else -1

Let zFlag = zListqvdexists;

You can then add this as a field (Using a resident load) before you store the file or alternatively add this flag to the QVD filename... 

Here is the link to the documentation 

https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFuncti...

Regards Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn