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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Luisanabria
Creator
Creator

Script SQL and Master Calendar Date

Hi to everyone

does anyone could help me?  l have this Script from sql server connection

fernandoflogtz_0-1660576355850.png

the field PERIODYEAR is in this way:

fernandoflogtz_1-1660576397111.png

i have this MasterCalendar

fernandoflogtz_4-1660576657428.png

when l load my data, it say that there is a mistake that comes from MAX and MIN, but lm using the correct Field 

fernandoflogtz_5-1660576812331.png

l try using this way Date(Fecha,'DD/MM/YYYY')  and Load Correctly but in my table the Year is working wrong:

fernandoflogtz_6-1660577040128.png

 

 

What could be the problem? is because my field Year is not like date? 

 

Labels (1)
1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Add the statement:

Exit script;

just before the "Drop Table MinMaxTemp".

Run the script and then examine the contents of the MinMaxTemp table as well as the variables you set with peek. 

-Rob