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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Boveitj
Frequent Visitor

Date Table that accounts for Production Shifts

I need to sort alot of our production data using a Date Table that accounts for Production Shifts so that all the shifts occur on the same day.

 

e.g.  6:00am-2:00pm, 2:00pm-10:00pm, and 10:00pm-6:00 am will all be considered on the same day when aggregating the data.

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Boveitj,

 

Normally, a day starts from 0:00 am to 12:00 pm. But you want to reset a day to start from 6:00 am today to 6:00 am tomorrow, roght? So that you can calculate the account from 6:00 am today to 6:00 am tomorrow, right?

 

If so, please refer to my suggestion in this similar thread.

 

If I have something misunderstood, please illustrate your scenario and expected result with sample data.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Boveitj,

 

Normally, a day starts from 0:00 am to 12:00 pm. But you want to reset a day to start from 6:00 am today to 6:00 am tomorrow, roght? So that you can calculate the account from 6:00 am today to 6:00 am tomorrow, right?

 

If so, please refer to my suggestion in this similar thread.

 

If I have something misunderstood, please illustrate your scenario and expected result with sample data.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KHorseman
Community Champion
Community Champion

If if were me I wouldn't handle this at the date table. I'd handle it at the (I assume) timesheets table. I'm not sure the exact structure of the data but if you have a column that tells you the date that the shift started on, that should be where you create your relationship to the date table.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.