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
djj13
Regular Visitor

Business periods

I'm trying to build a report based on our business day, which is from 4:00AM - 3:59AM. (Ex: 1/1/2018 4:00AM - 1/2/2018 3:59AM)

 

Haven't been able to figure this out. When I add the date dimension, everyting from 12:00AM - 3:59AM calculates into next calendar day.  

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @djj13,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please feel free to ask.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @djj13

 

What about creating a data calculated table with the  dax formula below?

 

Click Calculated table and type in the formula.

 

 

Date = 
ADDCOLUMNS (
CALENDAR (DATE(2018,1,1), DATE(2018,10,31)),
"Time1",TIME(4,0,0),
"Time2",TIME(3,59,0)
)

Then create another two calculated columns.

 

 

 

Start_Time = 'Date'[Date]+'Date'[Time1]
End_time = ('Date'[Date])+1+'Date'[Time2]

Then you could get the Date table like below.

 

Capture.PNG

 

 

Hope this can make sense of you!

 

Best Regards,

Cherry

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

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.