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
MAR71N
New Member

IF logic test with a working shift that cross two days

I want to set the SLA start date for a delivery time duration associated to a shift that starts at 10pm and finishes at 6am.  Therefore if the start time is between 10pm and midnight on 1/9/23 then start date is 1/9/23 and if the start time is after midnight and before 6am then the start date is 1/9/23.

 

1 REPLY 1
isjoycewang
Solution Supplier
Solution Supplier

Hi @MAR71N,

 

I think this post clearly explain the simple way to have a shift cross two days. You can replace the condition to your own case. Feel free to let me know if more questions, thanks.

Solved: Shift that Goes into Next day - Microsoft Fabric Community 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.