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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Syntax Error: Missing/Missplaced

HI I'm new to Qlik so this question might be a silly one. I successfully added a xls file into the data load editor. When I use the Year, Month, Week function I get the missing/missplaced syntax error. I don't really know what the problem is, I was hoping for a little help.

Thanks

[Deposits]:

LOAD [Service Agreement ID],

  [SA Type],

  [SA Status],

  [ACCT_ID],

  [Customer Class],

  [Current Amount],

  [Payoff Amount],

  [Deposit_Plus_Int],

  year[Start Date] as Year,

  month[Start Date] as Month,

  week[Start Date] as Week,

  [Customer Name]

FROM [lib://AttachedFiles/Customer_Deposits_QlikSense.xlsx]

(ooxml, embedded labels, table is Deposits);

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Try with ()

  year([Start Date]) as Year,

  month([Start Date]) as Month,

  week([Start Date]) as Week,

  [Customer Name]

FROM [lib://AttachedFiles/Customer_Deposits_QlikSense.xlsx]

(ooxml, embedded labels, table is Deposits);

View solution in original post

3 Replies
swuehl
Champion III
Champion III

Try with ()

  year([Start Date]) as Year,

  month([Start Date]) as Month,

  week([Start Date]) as Week,

  [Customer Name]

FROM [lib://AttachedFiles/Customer_Deposits_QlikSense.xlsx]

(ooxml, embedded labels, table is Deposits);

Not applicable
Author

Thanks Stefan. that cleared my error. I appreciate your help.

Anil_Babu_Samineni
MVP
MVP

Cool, close this thread. Just flag the current answer which solution was resolved.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful