Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calendar object

Hello everyone,

I have two calendar object, and I want to make every time I open report first object to show me first date of current month and the second object to show me last date of current month like on picture below. I create two varible and in first i put expression like this Num(MonthStart(Today())) but if I change starting date and reopen report he always remember last date.

1.png

I guess this is not a problem. Hope you can help me.

Thansk

5 Replies
its_anandrjs

Hi,

use Variable like

vStartDate = Num(MonthStart(Today()))

and use this in object.

Hope this helps

Thanks & Regards

Not applicable
Author

Hi Anand,

Thanks for your reply, it helped me. I realized that he remember last state of object and he will change it on starting date of month only if I reload the script. I thought to have start of month when I open QlikView.

jsingh71
Partner - Specialist
Partner - Specialist

Hi Stefan,

Find Attachment, may be it will solve your problem.

its_anandrjs

Hi,

Thanks but i believe it depends on your system available dates also any function not depends on state of object and when you reload the application the current date will be latest date and time that you reload.

Hope this helps

Thanks & Regards

Not applicable
Author

Can I add some trigger which will on open document reload that calendar object?