Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Hi XXX,
I think the easiest method is:
The variable will then hold the selcted date which can be passed through into function i.e. through use of set analysis.
I hope this helps.
Rod
Hi Rod,
Thanks for the suggestion. I did the same thing. it is working fine. But the it has the year started with 2000 and End year as 2011 i.e it shows the 10 years. i tried to set the minimum and maximum values but still it is the same. Is it limitation it will be showing only the 10 years in the calender object.
Hi XXX,
You need to enter the start and end values as numerics i.e 40458 instead of d/m/yyy type formats. You can also pass through the start and end values as variables i.e =$(Variable).
Either method will allow you to set a date range outside of the standard range.
Hope this helps.
Rod
Thanks Rod . I have one more query on the calender object.i want the option of choosing the time as well in the calender object.
Hi XXX,
The only way I know to set time is to create an additional slider object (linked to another variable) and set the minimum value as 0 and maximum value to 1 and then format the field as a time interval (h:mm).
From there you can combine the values in the two variables (date and time) and you should be able to get the result you are after.
Hope this helps.
Rod
Thanks Rod ,
i think Qlikview should have a inbuilt calender control with time option so that we can use the calender control directly..................
How link the calendar object to the variable ? Prompt in details, please
Hi oleg_evt1970,
To create the variable, do the following:
To add the variable to the Calendar object:
Now, after changing the date value you can select Settings > Variable Overview and see that your variable i.e. myDate has a value against it.
Hope this helps.
Rod
Hi,
This is exactly what I am trying to do ... but getting a little stuck ... I have created a complete table of dates in the script under a table called Calendar and a field called Calendar. I have added a variable called CalendarStart ... this variable will be used to create a date range on a chart dimension ... e.g. Show me everything that started between 1st Jan and 1st Feb ...
I have linked the Calendar object and I have a list box of the table which has dates ... as a test I have a text box as =$(CalendarStart)
I can not seem to get any data into the variable CalendarStart ... apologies if this is really simple
Thanks
Lee