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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
vdcastro
Partner - Contributor III
Partner - Contributor III

chart with time of timestamp

Hello everyone,

i am trying to build a line chart timestamp vs value. The timestamp must be in format HH:MM and just 30 in 30 minutes.

I have this table:

Timestamp(tstamp)Value
26-07-2016 17:00:1025
26-07-2016 17:00:1526
26-07-2016 17:30:0025
26-07-2016 17:30:0525
26-07-2016 17:42:00 25
26-07-2016 17:42:0534
26-07-2016 17:43:1025
26-07-2016 17:43:1625,1
26-07-2016 18:00:1027
26-07-2016 18:00:1527

My line chart has as dimension the time from timestamp (HH:MM) (17:00, 17:30, 18:00, etc) and has as expression the value.

My current result is:

Untitled.png

My dimension is:

=if(Minute(tstamp)=00 or Minute(tstamp)=30 ,timestamp(Timestamp(tstamp, 'YYYY-MM-DD HH:MM:SS'),'h:mm'))

My expression is the value.

Can someone help me with this problem?

Greetings

10 Replies
vdcastro
Partner - Contributor III
Partner - Contributor III
Author

It helps..thanks a lot

Greetings