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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
crichter14
Creator II
Creator II

Looking for Examples of Employee Schedule Calendar

I'm trying to develop a pivot table that shows Employees as a dimension and their hours of work in the Measure.  I've tried all the key words I can think of, but I can't seem to find anything close.   (timesheet, calendar, payroll schedule, time card, etc).  

Suggestions?

My example is below:

Issues I'm running into specifically.  

1.  I'm getting dashes '-' in the pivot table that I can't seem to get rid of.  I'd like to replace them with the word 'OFF'

2.  I don't know how to get the totals tacked on to the end.

3. The header has a lot of additional information that I can't seem to tack on.  (i.e. hours of operations, pay period)

4.  User is going to want to see overtime also I'm going to ask him what that means to his analysis (per day, per week) 

5.  User will probably ask for vacation hours (again going to ask him how to identify those)

I'm just starting out on this build so I'm looking for ideas - not necessarily solutioning.  I checked patricn first to see what I could pull from his examples.  But no luck.

 

Thank you for reading.

 

CURRENT WEEK:

Note: Total hours take into account a 1 hour break Tues-Thursday and a 30 minute  break on FridaysMonday
06/22
Tuesday
06/23
Wednesday
06/24
Thursday
06/25
Friday
06/26
Saturday
06/27
Sunday
06/28
Total
Hours of OperationCLOSED11AM-7PM11AM-7PM11A-7PM10AM-6PM9AM-5PM10AM-4PM 
Pay PeriodPay Period Ending
A
Pay Period Ending
A
Pay Period Ending
B
Pay Period Ending
B
Pay Period Ending
B
Pay Period Ending
B
Pay Period Ending
B
 
Department Name        
Emp1OFFOFF10:30AM-7:30PM
(9 HRS)
9AM-5PM
(8 HRS)
9:30AM-6:30PM
(9 HRS)
8:30AM-5:30PM
(9 HRS)
9AM-4:30PM
(7.5 HRS)
40 HRS
Emp2OFF10:30A-7:30PM
(9 HRS)
9AM-5PM
(8 HRS)
10:30AM-7:30PM
(9 HRS)
9:30AM-5:30PM
( 8 HRS)
8:30AM-5:30PM
(9 HRS)
OFF40.5 HRS
Emp3OFF10:30AM-7:30PM
(9 HRS)
10:30AM-7:30PM
(9 HRS)
OFF9:30AM-6:30PM
(9 HRS)
8:30AM-5:30PM
(9 HRS)
9AM-4:30PM
(7.5 HRS)
40 HRS
Emp4OFFOFF11AM-7:30PM
(8.5 HRS)
10:30AM-6:30PM
(8.5 HRS)
9:30AM-6:30PM
(9 HRS)
8:30AM-5:30PM
(9 HRS)
9:30AM-4:30PM
(7 HRS)
40 HRS
Emp5OFFOFFOFFOFF9:30AM-6:30PM
(9 HRS)
8:30AM-5:30PM
(9 HRS)
9:30AM-4:30PM
(7 HRS)
25 HRS
Emp6OFF10:30AM-7:30PM
(9 HRS)
10:30AM-6:30PM
(8 HRS)
11AM-7:30PM
(8.5 HRS)
VACATION
(8 HRS)
VACATION
(8 HRS)
OFF40 HRS
Emp7OFFOFFOFFOFF9:30AM-6:30PM
(9 HRS)
8:30AM-5:30PM
(9 HRS)
OFF18 HRS

 

1 Reply
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hey Crichter14,

 

That's the model approach you need to take. If you want to display 0'es for days off without having the records in fact, just Outer Join the Calendar Date (fully populated) to the Employee Master Employee Name (or ID) and then to the Fact Data to artificially bring those expected records then define this as:

LOAD
....
If(IsNull([Absolute Hours]), 0 , [Absolute Hours]) as [Absolute Hours]
Resident [Fact Data]
;

image.png