Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Raju_6952
Creator III
Creator III

Qvd creation monthly

Hi,

I have in requirement in qliksense that I have CSV files uploaded in source path for each day now my requirement is that from that files it should create qvd for each month dynamicalyy for example if it has csv files for 31 days then it should load and store that data into same qvd if that files are for August month then it should store as 202408.qvd(qvd) and if files are available for next month then it should create qvd for that month like 202409.qvd(qvd) and when the files for other dates in September updated then it should concatenate to the September qvd only.

Regards,

Raju

Labels (1)
2 Replies
Vegar
MVP
MVP

A simple solution could be to do something like this:

Data: Load MonthField, FieldA, FieldB,...,FieldZ From lib://source/*.csv (txt);

For each _month in fieldvaluelist('MonthField')

MonthData:

NoConcatenate LOAD * Resident Data

where MonthField= $(_month);

Store  MonthData into MyQVD_$(_month).qvd (qvd);

Drop table MonthData;

Next _month

Raju_6952
Creator III
Creator III
Author

Hi @Vegar ,

its not working as expected Its loading data fir several csv files but stroing in  a single qvd not dynmaically for each month.

 

Regards,

Raju