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
Krijgerss21
Helper II
Helper II

making end date

Hello guys and girls men and woman,

i have a begin date colum this is a date format type and a colum with whole numbers that are hours of work so 3 is 3 hours of work how can i count the hours of work up to the begin date to make a end date 8 hours of work equals 1 workday

for example my startdate = 06-12-2022 and my work hours a 14 hours my end date must be 07-12-2022
my startdate only have date not time 

 

i hope someone can help me:))

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

Try adding a custom colum in the query editor with this formula (updated with your actual column names).

 

= [StartDate] + #duration(Number.RoundDown([HoursOfWork]/8,0),0,0,0)

 

Pat

Microsoft Employee

View solution in original post

1 REPLY 1
ppm1
Solution Sage
Solution Sage

Try adding a custom colum in the query editor with this formula (updated with your actual column names).

 

= [StartDate] + #duration(Number.RoundDown([HoursOfWork]/8,0),0,0,0)

 

Pat

Microsoft Employee

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.

Top Solution Authors
Top Kudoed Authors