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: 
Not applicable

Master Calendar help!

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.

errorc.png

errorc2.png

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I looks like you have a "QUALIFY *" statement on the previous tab -- without an "UNQUALIFY *".

-Rob

View solution in original post

13 Replies
maxgro
MVP
MVP

Empty APData table?

Not applicable
Author

No its pulling 267,000 lines from the APData table which is pulling from a qvd.

Not applicable
Author

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?

sunny_talwar

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.

sunny_talwar

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.

Not applicable
Author

table.png

sunny_talwar

Can you try the variable like this:

LET vMaxDate = Peek('MaxDate');

LET vMinDate = Peek('MinDate');

Not applicable
Author

Same error as before..

error5.png

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

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

http://masterssummit.com

http://qlikviewcookbook.com