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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calender Object

Hi,

Would like to create the calender control independent of any coulmns in the database. Will use the calender object to select the date which will be passed as input. How to create the calender object independent of database columns.

15 Replies
chris_johnson
Creator III
Creator III

Hi Lee,

Are you selecting one date in particular? I think when you are using $(CalendarStart) it will only evaluate if you only have one possible value, otherwise it won't know what to display.

Not sure if that's the issue, just thought I'd mention it.

Chris

Not applicable
Author

Hi Chris,

I am just selecting the one day ... just to test if it is being passed to the variable and it is not ...

But thanks for the tip

Lee

chris_johnson
Creator III
Creator III

Hi,

Do you have a sample you could upload just so we could have a play with? These things catch me out sometimes too.

Chris

Not applicable
Author

Sure ... attached is a simple example of what I am trying to do ...

Not using a variable ... works ... using one does not ...

chris_johnson
Creator III
Creator III

Hi,

I changed the variable in the text box from $(myCalendar) to just myCalendar and it now acts the same as the other text box.

I'm not sure about how you would make the text box so that you could input a range of dates though. The only time I've done this is using the Slider object and linking it to the calendar, which would work in your case but I'm not sure that's what you're after.

Sorry, my knowledge is a bit limited with this!

Oh, it looks like you can set the Calendar object to multi value in the properties which will then set a range on the Calendar table.

Chris

Not applicable
Author

Hey ... thanks Chris ... I always thought you had to prefix variables with the $Expansion to return all values in the variable ...

Pleased that you solved it ... can crack on now.

Cheers

Lee