Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Custom Time Buckets

Qlikers,

Need your suggestion for a scenario....

I am having a slider object for a Time window say 11:30 - 11:30 with Min and Max Time stamp variable..

Now, I want to give a flexibilty to user with a option of 10 min, 20 min, 30 min, 40 min, 60 min , 90 min and so on window which I can create a inline for same(Any other option apart from Inline, appreciatable)

When User select or tick 10 min, then I want data & analysis like

(Min Value of Slider)11:30 - 11:40

11:40 - 11:50

11:50 - 12:00

12:00 - 12:10

and so on till Max Value of slider...

Similarly, if user selects or tick 20 min, then I should get like this


(Min Value of Slider)11:30 - 11:50

11:50 - 12:10

12:10 - 12:20

12:20 - 12:30

and so on till Max Value of slider...


How can I achieve same?


If I am not wrong, then might be use of Variable & Triggers or any other?


Any suggestion highly appreciatable

1 Solution

Accepted Solutions
abhaysingh
Specialist II
Specialist II

Pls chck and let me know

View solution in original post

15 Replies
marcus_sommer

You could use a variable or field-value (per getfieldselections) for this:

- Marcus

Anonymous
Not applicable
Author

You mean to say, by Input Variable, I can pass that value in this interval, is it?

its_anandrjs

You have to use variables here also use input field object to fill the values to variable which is used on the slider.

Possible then share sample file.

Regards,

Anand

marcus_sommer

I haven't used it by myself but it should work in that way.

- Marcus

Anonymous
Not applicable
Author

See the attachment & let me know if you need more info

Anonymous
Not applicable
Author

Marcus, doing that would minimize the slider time window upto that limit...

I want in a report like what I have mentioned in attachment..

Already uploaded sample, please suggest

marcus_sommer

I think you will need to use the automatic scale which worked with a variable-switch - but you need enough space to show smaller interval unless you reduce the font-size. Have a look on the attachment if it comes near to your wished view.

I'm not sure if a slider is always a good choice for user inter-actions. Maybe a solution with normal listboxes (maybe with cyclic or drill-down grouped dimensions and/or expressions) could bring a better usability.

- Marcus

Anonymous
Not applicable
Author

No Marcus, I do want to change slider view...

In my case slider view is fixed what I shared with you earlier...

With that Slider and Input Box, I want

All the interval of Slider, From min and max value of Time Slider with the Bucket Value of Input Box.

Am I cleared?

marcus_sommer

Have you tried to change the variable within the inputbox to a value of 60, 90, 120 for example - you will see that the bucket-size will change.

- Marcus