Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishp
Creator
Creator

Create new QVD every month.

Hi There 

We are using monthly refresh. 

We want to create new QVD for every month refresh and store old QVD with respective month name. 

Thanks in advance, 

 

Labels (2)
1 Solution

Accepted Solutions
Andrei_Cusnir
Specialist
Specialist

Hello,

 

You can add the following script after load statement:

 

let name = MonthName(Today());

 

Store TableName into [lib://Location/$(name).qvd](qvd);

 

This will get the current month, year as name and store a new QVD file.

 

Output:

 

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

1 Reply
Andrei_Cusnir
Specialist
Specialist

Hello,

 

You can add the following script after load statement:

 

let name = MonthName(Today());

 

Store TableName into [lib://Location/$(name).qvd](qvd);

 

This will get the current month, year as name and store a new QVD file.

 

Output:

 

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

Help users find answers! Don't forget to mark a solution that worked for you! 🙂