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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

[_xlnm#_FilterDatabase] --- urgent help please


Hi,

I have excel sheet from Jan to Dec in excel workbook. I used script to load all excel sheets at a time in qvw. when reloading it is showing below error.

Field not found - <Name?

(ID)>

[_xlnm#_FilterDatabase]:

can anyone suggest me this how to sort our this. I google the error but not found solution.

Thanks.

Labels (1)
19 Replies
Not applicable
Author

I observed this when loading table files

giakoum
Partner - Master II
Partner - Master II

try it with brackets. and make sure it is continuous on the same line

martinpohl
Partner - Master
Partner - Master

within the sqltables statement you get sheets but also areas, defined in your Excel-file.

In that case the sheet name is the same with the area-name, prefixed with an $.

so load only table, ending with an $ in your loop.

Regards

settu_periasamy
Master III
Master III

Hi,

may be the hidden objects in excel (not hidden sheet).

For checking purpose,  copy 3 excel sheets, paste special value into another workbook.. then try with the same script

Not applicable
Author

Thanks. where I need to use $. please let me know

martinpohl
Partner - Master
Partner - Master

in your script here:

Tables1:

load

*,

replace(TABLE_NAME,chr(39),'') as NEW

resident tables;

change to

Tables1:

load

*,

replace(TABLE_NAME,chr(39),'') as NEW

resident tables

where TABLE_NAME like '*$'

;

but I'm not sure if a $ works in a statement.

Otherwise replace it in load load script in a new field

e.g. replace(TABLE_NAME,'$','TAB') as TABLE_NAME_NEW

and use

where TABLE_NAME like '*TAB'

Not applicable
Author

Thanks. it's working.

Not applicable
Author

Thanks to all!

Anonymous
Not applicable
Author

Thanks Jakub...it is working fine for me...given code remove unwanted files from the excels or csv and provide you required file only.

pgalvezt
Specialist
Specialist

If you use Store Sentence. You have to use too the Jakub's script : Because store Save a qvd( "xlnm#_FilterDatabase")..

IF Index('$(sheetName)','FilterDatabase')=0 then

STORE Table1 into $(LocationQvd)NameQVD $(sheetName).qvd;

DROP TABLE Table1;

ENDIF

NEXT

Thank you Jakub your solution is nice