Forum Discussion

Locc's avatar
Locc
Frequent Visitor
2 years ago

2-2-3 Shift Matrix

I currently have data that I need to break down by shift.

 

We have 4 shifts, A,B,C,D. A/B are day shifts, and C/D are night shifts. A/C shifts work together days/nights and B/D work together days/nights. We are on a 2-2-3 schedule and Jan. 1 this year was an A/C day. Shifts run from 7am-7pm and 7pm-7am. 

 

Is there a query I can use to automatically create a date table, similar to the result from this thread?

 

https://community.fabric.microsoft.com/t5/Power-Query/How-to-create-a-shift-rotation-schedule-in-Power-Bi/td-p/2312899

 

I'd like to create a slicer/filter and see data for each shift.