Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Locc
Frequent Visitor

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-Pow...

 

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

 

1 REPLY 1
amitchandak
Super User
Super User

@Locc , I think first you need to create period of 7 week and then further split, Like we have done for 4-4-5

 

DAX Calendar - Standard Calendar, Non-Standard Calendar, 4-4-4 Calendar
https://www.youtube.com/watch?v=IsfCMzjKTQ0&t=145s

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.