Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31097

PBI - can I show shift days off and vacation days in matrix calendar visualisation?

$
0
0

Hi all,

Not receiving an error here - but have come unstuck in how to proceed with this.

 

Been trying desperately to get this completed, and it’s got me hooped, I seem unable to advance it further.

Looking to build a pbix that will display workers availability in a matrix/calendar view.

This, is what I am trying to reconstruct – was built in C# through functions, but is to be decommissioned in the near future.

coochy5_0-1727903556804.png

 

The calendar above will display a crew member, with their booked vacations, and their scheduled (shift) time off – which is defined by the crew colour and shift rotation.  Only whole days need to be represented, no time delineation, and each day cannot be both a shift day off, and a vacation day.

Whilst the shift rotations have prior start dates – I have no need to display any historical dates.

Each worker has a ‘WorkScheduleCalender’ string on their HR record, which I’ve delineated out into a ‘Rotation’ and ‘Crew’ field in a sql view, for slicers.  (Not sure that is helping, or hindering me !)

I’ve got as far as creating a version, that operates well on just the vacation days off bases – I really have no idea how to incorporate the shift off days, into the same matrix visual.

Hmm...can't seem to add my sample pbix.

This is as far as I have been able to go with just the vacation/day off calendar - not yet able to incorporate shift days off.

coochy5_0-1727903900119.png

 

Shift days off would look like this - note - crew colour is a different rotation.

Sample of the shift rotations...

Work Schedule CalendarWork Week Start DayBiweekly Calculation Start DateConfigurable Calculation Period
Day Rate - 10/4 Rotation 2Tuesday2/21/2017Month Starting on Day 1
Day Rate / Bulker / Hourly - 22/13 Rotation 1 (Purple)Wednesday5/2/2018Month Starting on Day 1
Day Rate / Bulker / Hourly - 22/13 Rotation 2 (Orange)Wednesday5/9/2018Month Starting on Day 1
Day Rate / Bulker / Hourly - 22/13 Rotation 3 (Grey)Wednesday5/16/2018Month Starting on Day 1
Day Rate / Bulker / Hourly - 22/13 Rotation 4 (Brown)Wednesday5/23/2018Month Starting on Day 1
Day Rate / Bulker / Hourly - 22/13 Rotation 5 (Teal)Wednesday5/30/2018Month Starting on Day 1
Day Rate / Bulker /Salary - 15/6 Rotation 2 (Red)Wednesday2/8/2017Month Starting on Day 1
Day Rate / Bulker/ Salary - 15/6 Rotation 1 (Blue)Wednesday2/22/2017Month Starting on Day 1
Day Rate / Bulker/ Salary - 15/6 Rotation 3 (Yellow)Wednesday2/15/2017Month Starting on Day 1
Day Rate / Salary  - 10/4 Rotation 1Tuesday2/14/2017Month Starting on Day 1
Salary - 10/4 Rotation 1Sunday Month Starting on Day 1
Salary - 10/4 Rotation 2Sunday Month Starting on Day 1
Salary - 15/13 Rotation 1 (Magenta)Wednesday4/1/2020Month Starting on Day 1
Salary - 15/13 Rotation 2 (Pink)Wednesday4/15/2020Month Starting on Day 1
Salary - 15/13 Rotation 3Wednesday4/1/2020Month Starting on Day 1
Salary - 15/13 Rotation 4Wednesday4/1/2020Month Starting on Day 1
Hourly - 8/6 Rotation 1 (10hr)Wednesday2/15/2017Month Starting on Day 1
Hourly - 8/6 Rotation 1 Tu-Mo (10hr)Tuesday2/14/2017Month Starting on Day 1
Hourly - 8/6 Rotation 2 (10hr)Wednesday2/22/2017Month Starting on Day 1
Hourly - 8/6 Rotation 2 Tu-Mo (10hr)Tuesday2/21/2017Month Starting on Day 1

 

Any assistance or recommendations for an alternate method of replicating this, is greatly appreciated !!!


Viewing all articles
Browse latest Browse all 31097

Trending Articles