Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I have xlsx files loading into a QV model. The script allows for 12 header lines:
(ooxml, embedded labels, header is 12 lines,table is [$(vSheetName)] ).
My problem is that unless the excel file is first opened and saved, QV cannot work out how many header rows there are and the script errors with fields not found. I assume this is problem with different Excel versions. I am preprocessing files with a vbscript, but is there another option ?
Hi,
I think your excel files are generated from database Excel export Service ,
This may vary due to daily changes of Header Lines OR Sheet-name OR The file name may also change .
Check out the above.
Hope this helps.
regards,
Hirish
Steps to load data from Excel:
1. Open the desktop version.
2. Press Ctrl+E . On the lower part go to 'Data' Tab.
3. Click on Table Files. Browse and load the data from excel.
If your excels are in opened in edit mode and then QV cannot load such file . Excel version might has impact in loading the file unless if it corrupted, and follow the steps mentioned by anjali12gupta you should be able to load . If your still facing any issues please share the sample excel file.
I don't really understand. If the file does not have 12 header lines, then adjust that parameter. It will look for field names as column titles in the first row after it has skipped the header lines. It seems that the field names / column titles are not in that row.
There is not normally a need to first open and save the file. What is your vbscript doing?
>>If your excels are in opened in edit mode and then QV cannot load such file
I am not sure what you mean by opening in "edit" mode. I have never had a problem loading Excel files while the file is open in Excel.
jontydkpi sir , I mean if some one has opened the excel file and editing the fields than Qlikview load will fail rite
Interesting, same problem. If I open the file I receive the wizard does not find column names at all when specifying 12 lines of heading. If I firstly open the file in excel and save it, then the wizard works as expected.
The vbscript is just opening and saving the file which solves the problem. I suspect that the file I receive is not entirely compatible with QV, but opening in and saving it in Excel locally seems to correct whatever the problem is.
Can u capture a screen and explain what it shows?
Regards,
Anjali