Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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);

1 Solution

Accepted Solutions
swuehl
MVP
MVP

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
MVP
MVP

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

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