Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

start and stop time

Hi,

I want to calculate the  Count of each part produced by hour of the day.

PFA

1 Solution

Accepted Solutions
Pulkit_Thukral
Partner - Creator II
Partner - Creator II

Hi Joshua,

Does the below graph fulfills your requirement ?

I have created a custom field "Hour" in scripting to achieve this .

Script :

LOAD MachineNumber,

     Start,

     Stop,

     Program,

     CoolantPumped,

     RPM,

     OpID,

   HOUR( DATE(Start,'h:mm:ss TT')) as Hour

FROM

HaasMachines.xlsx

(ooxml, embedded labels, table is Sheet1);

Capture.PNG

View solution in original post

4 Replies
Anonymous
Not applicable

Hi

Is it like this ?

MachineNumber Machines produced by hours
105:34:00
204:36:00
303:34:00
407:46:00
508:06:00
608:09:00
708:52:00
Pulkit_Thukral
Partner - Creator II
Partner - Creator II

Hi Joshua,

Does the below graph fulfills your requirement ?

I have created a custom field "Hour" in scripting to achieve this .

Script :

LOAD MachineNumber,

     Start,

     Stop,

     Program,

     CoolantPumped,

     RPM,

     OpID,

   HOUR( DATE(Start,'h:mm:ss TT')) as Hour

FROM

HaasMachines.xlsx

(ooxml, embedded labels, table is Sheet1);

Capture.PNG

ajsjoshua
Specialist
Specialist
Author

Hi Pulikit,

It should be based on the hour of the day.

Ex: if time is 5pm how much program completed lik that i want to show

Pulkit_Thukral
Partner - Creator II
Partner - Creator II

First Question :-Hour of the day will be based on Start or Stop Time.

Second Question :- condition for program completed ?