Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
dairan73
Contributor III
Contributor III

Sort the time in the time group

I need help to sort the time (UsedTime) in the time group, for example:

Time Groups:

07:00 to 12:59

13:00 to 18:59

19:00 to 22:59

23:00 to 06:59

2017-04-24 - 001.png

Example: Cod 111 have the total time of 02:45, but 44 minutes need to join the group 13:00 to 18:59 and 2hours and 1 minute to the group 19:00 to 22:59.

Can someone help me?

Thank you.

11 Replies
sunny_talwar

You need this in the script or front end? and where are the Time Groups? In another table?

dairan73
Contributor III
Contributor III
Author

I prefer in the script.

Time Groups not existis in a table, the user told me.

sunny_talwar

So these groups can change or are these always going to be the same?

dairan73
Contributor III
Contributor III
Author

The groups will always be the same.

dairan73
Contributor III
Contributor III
Author

Any idea ?

dairan73
Contributor III
Contributor III
Author

Do you know how to do ?

Anil_Babu_Samineni

As per your data what was the output you want to see?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
kamielrajaram
Creator III
Creator III

Hi,

Try creating a inline table with your time groups and then use the intervalmatch function to associate times to time groups.

Kind Regards

Kamiel

dairan73
Contributor III
Contributor III
Author

I need to look like this:

2017-04-25 - 001.png