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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
prrajendran
Contributor III
Contributor III

aggregating seconds field into hour field

Hi all,

i have a Timekey in my main table which is set up for each seconds. i.e., the values will be from 1 to 86400.

Now, i have to join this table with another table that has timekey set up for each hour i.e., from 1 to 24.

How can i aggregate the Timekey in my main table to have values for each hour (1 to 24) so that i can join the two tables and have meaningful values.  please help

Labels (1)
1 Reply
marcus_sommer

You could try it with: hour(1 / 86400 * YourSecondField)

- Marcus