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: 
Not applicable

How to display only hours not minutes

Hi

In a graph I want to display only the values per hour not by minute (as DATUMTIJD) has an inteval per minute

So how should this expression looks?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If DATUMTIJD is a timestamp you could use hour(DATUMTIJD) to get the hour of the timestamp. Or maybe you need to 'truncate' the minutes. In that case use floor(DATUMTIJD, 1/24) to round down or ceil(DATUMTIJD, 1/24) to round up.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If DATUMTIJD is a timestamp you could use hour(DATUMTIJD) to get the hour of the timestamp. Or maybe you need to 'truncate' the minutes. In that case use floor(DATUMTIJD, 1/24) to round down or ceil(DATUMTIJD, 1/24) to round up.


talk is cheap, supply exceeds demand
Not applicable
Author

works fine thanks a lot!!!