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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Transform Scheduled Time Data to get to Total Time Scheduled Measure

Hello,

 

I have a data table I need to transform in order to get to Total Time Scheduled by employee. The data table is currently set up in a very odd format and I can't think of the most efficent way to transform it. Below is a sample image of the data fields we are working with. There are so many options in terms of repeats, repeats every 1st week, 2nd week etc. and then specific days of the week. Any thoughts on how I could get this into a useable format??  

 

Kory09_0-1617829939205.png

 

 

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

I don't see any way in Power BI to calculate the total time with current table. I guess you would need to recreate your model.

 

You should always have a calendar instead of date start and date end when calculating working days/time. My suggestion is turn the table to a format with a date column and a weekday column, create a flag column and working time column. For example display 1 if the employee worked in the day and record the working time on each worked day. 

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Again,

 

I have attached a link with an example copy of the data in image I provided above. Apprecaite the help!

 

https://drive.google.com/file/d/1h7tYFBVfq2wke8114JvEcobNWZXAhh70/view?usp=sharing 

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.