Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Team,
I have excel files like Jan,Feb,Mar ... etc Sample 2 file are attached.
Requirement :
1. Creation of qvd store all data into Single QVD (ALLDATA.QVD)
2. if user changed data into excel files again same name file will be uploaded into directory , And modified excel file
should get updated into ALLDATA.QVD and old records should get deleted.
Please note : - I require script using my excels files only , so can any one help me to achieve the same.
Vikas
For the first requirement:
LET path = '\\your path';
SUB DoDir(Root)
FOR each File in filelist( Root & '\*.xlsx')
Order:
LOAD *
FROM
[$(File)]
(biff, no labels, table is [Sheet1$]);
NEXT File
FOR each Dir in Dirlist (Root&'\*')
CALL DoDir(Dir)
NEXT Dir
END SUB
CALL DoDir('$(path)\Folder')
STORE Order into order.qvd (qvd);
This script allows to load all xlsx files from one folder into single table. At the end it stores the data.
Hi Vikas,
Have a look at the link below.
https://community.qlik.com/thread/61585
Regards,
Kaushik Solanki
Hi Kaushik,
Thanks for reply actually I want to store into QVD and every time wants to update qvd with modified file if user copy modified excels into folder.
Vikas
Step-by-step approach:
Best,
Peter
Thanks peter
can you provide script for the same ?
vikas