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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QVD files and EXCEL

Hi Community,

Please, is it possible to load data of an EXCEL file in a QVD file?

Please, if true tell me how to proceed to get.

Thanks.

9 Replies
tresesco
MVP
MVP

Hi,

I didn't try, still i believe it should not cause a problem.

load the excel file and simply use STORE command to store it in a QDV file format.

-tresesco

Not applicable
Author

Hi GAEL,

Hope u r new to Qlikview .

Please do as our friend suggested . Load the excel into the Qlikview .

and use the store command.

The Syntax of store command is : Store TableName into Path\TableName.Qvd

Regards,

Chakravarthy.

Not applicable
Author

Thank you. But i would like to do it every time when there is a new Excel file

Not applicable
Author

You can write a vbs macro in the macro edititor and call the the function to get what you need. You just can not referance the QV API in the load script.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there,

Creating a QVD file is as has been suggested as simple as calling the STORE function.

When you say you wish to do it each time there is a new Excel file - can you please explain what you mean. Is it that you have a drop folder an each time an Excel file appears in it you wish to incorporate it into your dataset?

I am sure there will be a solution to what you are after - I'm not sure I understand the problem at the moment though.

Regards,
Steve

Not applicable
Author

Yes, i have a folder and each time an Excel file appears. ANd for each file, i would like to apply theses operations.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there,

If all the Excel files follow a consistent filename and have identical columns in them then it is a simple matter of using a wildcard (*) in the file name when you do the load script. I have posted a video to YouTube at http://bit.ly/bs9BSh showing basic multiple file functionality.

If the file names or the formats are irregular then you will need to loop around each Excel file in the folder to process each one. The code for this is a bit like:

For each File in filelist('c:\folderpath\*.xls*')
TableName:
LOAD
*
FROM
[$(File)]
(ooxml, embedded labels, table is Sheet1);
Next

But you will need to make sure that you at least have the same format for all of your Excel files and the sheet name you wish to load from is consistent.
If you can not rely on this then you may be able to achieve what you are after by using an ODBC connection to each Excel file - as this will be a bit more tolerant of format changes.
Hope that helps.
Regards,
Steve


Anonymous
Not applicable
Author

Hi Steve,

Thanks for the post. I have similar requirement but should be done in incremental load way. I have multiple excel file source with date suffix. I want to load all the excel files but incremental, it should load the files which is already processed or loaded in QVD. Need help.

Best,

Skumar

Not applicable
Author

Did you get an answer to this?