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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error in loading master calendar

Hi,

I have used Jos Good's script to load the Master calendar but I am receiving the following error message when loading:-

ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Incorrect syntax near 'MAPPING'.

I am using "InvoiceDate".

Scripts loaded.

Script attached.

Any help appreciated.

Regards,

Laura

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

You have to give ; at end of each statement

order by fa.accountnumber;

You have to replace Orders with your actual table name.

Temp: 

Load 

          min( InvoiceDate) as minDate, 

               max( InvoiceDate) as maxDate 

Resident MemberActiveProducts

Hope this helps you.

Regards,

Jagan.

View solution in original post

1 Reply
jagan
Partner - Champion III
Partner - Champion III

Hi,

You have to give ; at end of each statement

order by fa.accountnumber;

You have to replace Orders with your actual table name.

Temp: 

Load 

          min( InvoiceDate) as minDate, 

               max( InvoiceDate) as maxDate 

Resident MemberActiveProducts

Hope this helps you.

Regards,

Jagan.