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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem while reloading. Need help!

Hi ,

I'm facing a problem while reloading a qvw file. It is loading data from an excel sheet.

This is the excel sheel used.

Reconcilation
MonthProductRegionReconcilation FlagBranch IDAccount IDBudgetOutlook
1/1/2012GoldNorthY1166936810893348
1/1/2012GoldNorthN1158655915603099
1/1/2012GoldSouthY1171809119823867
1/1/2012GoldSouthN1121955015663818

Below is the screenshot of the error I get.

aaaa.png

The filed "Month" is present in the spreadsheet. But I don't know why i face that error.

3 Replies
crusader_
Partner - Specialist
Partner - Specialist

Hi there,

If you omit Date(num#(Month)) field everything reloads fine or not?

Andrei

MK_QSL
MVP
MVP

For Date, DateNumber and Month use below in your script..

Date(Date#(Month,'D/M/YYYY')) as Date,

  NUM(Date(Date#(Month,'D/M/YYYY'))) as DateNumber,

  Month(Date(Date#(Month,'D/M/YYYY'))) as Month

Change D/M/YYYY or M/D/YYYY according to your datefield.

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

An error in the first field can also mean that QV cannot find the sheet specified, or there are header lines in the sheet that prevent QV from reading the field names.

Check the sheet name.

Your script says header is 1 line - if there is no header line, or more than one, you will also get this error.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein