Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
All,
I've used this master calendar for ~20 of my clients, but I cannot seem to figure out why this keeps erroring out. Let me know if you have any suggestions.
I looks like you have a "QUALIFY *" statement on the previous tab -- without an "UNQUALIFY *".
-Rob
Empty APData table?
No its pulling 267,000 lines from the APData table which is pulling from a qvd.
The only difference in the data with this client is there is only one year of data -- 2015, where we usually have 2-3 years, could this be the issue?
I have run into this issue few times. I would check if QlikView understands the DateCheck as date. It might be read as date or DateCheck may be completely blank.
Can you try reloading the qvd without mastercalendar script and create a straight table with this:
Dimension: DateCheck
Expression: Num(DateCheck)
Just to make sure that date is read as a date field by QlikView.
Can you try the variable like this:
LET vMaxDate = Peek('MaxDate');
LET vMinDate = Peek('MinDate');
Same error as before..
It looks like both your peek() statements are returning null. Exit the script after creating the MinMax table and see what's in the table.
-Rob