Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field Not Found DETECT

Hi!

I have an excel file that until a certain date was not a specific field, which was included after this date.

BeforeAfter
CodIDCodID
NameName
DeptoDepto
Manager NameManagerID

Manager Name

How can I use the same script to load these files?


Something like: FieldExists (Field).


Can anyone help me?

Tks!

Marco

3 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this script

TableName:

LOAD

*

FROM ExcelFileName;

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

In the load script I manipulate the fields and also have a track record to be loaded.


My first idea was to verify the date of file generation and load have two scripts, one for each period. Maybe it's more correct to do.

vincent_ardiet
Specialist
Specialist

Hi Marco,

You can have a look to the following functions FieldName, FieldNumber and mainly NoOfFields.

The last one gives you the number of fields in a table.

Regards,

Vincent