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

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
Partner - Champion III
Partner - Champion III

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