Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hai everyone,
how can i set the slider position default to 12.00 A.M to 6.00 A.M. My requirement is whenever i open my QV file it should to display default position in slider and after it should be possible to change the position also when user clicks. In slider i am using "Time" field
How can i work on this, please share your ideas on this.
Thnks
i hav a solution.. it may help u
we can perform actions when we open qlikview file.
goto Settings tab -> Document Properties -> Triggers -> Document Event Triggers -> onopen -> add action.
Hai,
what action i need to take and what conditin should i give.
Please can you give me steps with some example.
Thnks
Hi,
In action you can execute a macro to set your variables used in slider.
This is an exemple for the macro to set variables(BeginDate, EndDate) in today and day befor:
sub InitiateDates
Date1=DATE
Date2=DATE -1
ActiveDocument.GetVariable("BeginDate").SetContent Date1, true
ActiveDocument.GetVariable("EndDate").SetContent Date2, true
end sub
Function DATE (in VB) get the current date
Hope it help
HD
HI Hanen,
Please explain little more clear, i am new to QlikView and also i want to set the Time as Default.
In Slider what Expression should i use.
Thnks
Venkat,
If you're using Time field in slider, setting "default position" is nothing more than making default seelction in time field.
Default selection is simple - you can find dozens of examples here on forums.
(No expressions in slider)
Hi Michael,
Can you pls share your knowledge on having default position for sliders.
i.e; in my file contians one barchart and one slider. In barchart i had taken a GROUP(couple of fields) as Dimension.
Based on selected field field from group in barchart, the slider gets effected in its min and max values. Upto here its working fine for me.
Now Very huge burden for me is, making the default position in slider for each field in a group from barchart.
How can i set the default position for slider when selects the fields from barchart.
Thnks