Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

grouping data

I have data sorted by date in 15 minute increments. Date and time are separate fields. Time increments are 00:00 - 00:14, 00:15-00:29, etc., all the way to 23:45 - 23:59.

Is it possible to combine these increments into hours, so that the first four increments of the day will be combined into 00:00 - 00:59?  Do I use the load statement for that? 

I'm a complete novice and appreciate your help!

Labels (1)
1 Reply
marcus_sommer
MVP
MVP

I think you could use class(minutes(YourTimeField), 15) or ceil(minutes(YourTimeField) / 15) to group the minutes and used further fields like hour(YourTimeField). I suggest this not to make within the fact-table (especially if they is larger) else to use master-calendar and master-time-table, see: How to use - Master-Calendar and Date-Values.

- Marcus