Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Slider Object

Hello Community,

i attached a QV-File with a Slider Object.

This Slider Object contains different dates.

is it possible that the slider button shows the  actual date? so i want that the slider button should show the value of today 24.04.2012. if i open it tomorrow, it should show 25.04.2012.

thank you for your help!

regards, aylin

8 Replies
jason_michaelid
Honored Contributor II

Re: Slider Object

Here you go - see attached.  I have added an OnOpen trigger (Settings > Document Properties > Triggers) to set the Date field to be Today()

Hope this helps,

Jason

Not applicable

Re: Slider Object

Hello Jason,

thanks, but if i open the document, i can't see the slider button that shows the actual date??

chandashok
Contributor III

Re: Slider Object

Hi

     Hope the attahced file have the solution for your problem.

check in

     Settings > Document Properties > Triggers--->On Open

Regards

Ashok

Not applicable

Re: Slider Object

Hello Ashok,

thanks for your answer. But this only the half solution

my listobx contains now this values:

LOAD

* INLINE [
Date
01/01/2012
01/02/2012
01/03/2012
01/05/2012
01/06/2012
01/07/2012
01/08/2012
01/09/2012
01/10/2012


]
;

If i open the document now, the date of today won't be shown with the slider button. is it possible when i open the document that the slider shows the date of today ? because my inline table shows different date from the past to the future.

chandashok
Contributor III

Re: Slider Object

Hi

   In your inline date field dont have the today date.

   Then how can you select the today date from that inline date field in document On Open.

     If you have today date in your date field slider it wil select the today date on document Open or less it wont

select anything from the slider

Regards

jason_michaelid
Honored Contributor II

Re: Slider Object

As Ashok says, if today's date is not in your list of dates then it can't be selected!  You could try generating a range of dates between a max and min in the script.  See attached.

Jason

Not applicable

Re: Slider Object

Ok, thank you both for your Answers.

jason_michaelid
Honored Contributor II

Re: Slider Object

If your original question has been asnwered then please mark an answer so others can see.  If not, then let us know how we can help you further.

Cheers,

Jason

Community Browser