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: 
drohm002
Creator II
Creator II

Create new table

Hello, please see the picture below.  I am trying to create a new table that creates a row for each day for each particular machine regardless if that machine had an exam date, and then creating a column in that table that holds the total minutes in that day.  Please help!

drohm002_0-1728402122360.png

 

Labels (5)
1 Solution

Accepted Solutions
Qrishna
Master
Master

try below:

DATA:
LOAD * INLINE [
ExamDate,Machine,
09/01/2024,VC
09/02/2024,BC
09/02/2024,VF
];


Full_Table:
Load Distinct ExamDate as Exam_Date, 1440 as Minutes Resident DATA;
left join(Full_Table)
Load Distinct Machine as Machine_ Resident DATA;

2485966 - Create new table.PNG

 

View solution in original post

2 Replies
Qrishna
Master
Master

try below:

DATA:
LOAD * INLINE [
ExamDate,Machine,
09/01/2024,VC
09/02/2024,BC
09/02/2024,VF
];


Full_Table:
Load Distinct ExamDate as Exam_Date, 1440 as Minutes Resident DATA;
left join(Full_Table)
Load Distinct Machine as Machine_ Resident DATA;

2485966 - Create new table.PNG

 

drohm002
Creator II
Creator II
Author

thank you!