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
Anonymous
Not applicable

Need to bucket utilisation minutes into various hour slots

HI,

 

Thanks for help in advance

 

I have a table which has utilization of People, It has start time, end time and difference of both in Minutes (See table_1)

Table_1.PNG

 

Now, I need to bucket the number of minutes utilized hourly basis (See table_2)

We take Record 1, start time is 9:00 Hours, so we put 60 Minutes in this bucket and next bucket remaining 15 minutes. 

 

Table_2.PNG

 

I'm not sure how it can be achieved in Powerbi or infact in Excel as well. Any help is appreciated.

 

Thanks, Karan.

2 REPLIES 2
amitchandak
Super User
Super User

Anonymous
Not applicable

Hi @amitchandak - Thanks for your help!

I tried this solution but unfortunately, it is not working or may be it is not the exact solution, I'm looking at

The reason is every record of mine, can have multiple time slot hours where as in the solution, it seems to take start hour and tag Minutes for it.

Example, Start time is 01 Oct 2020 14:00 Hours, End Time is 01 Oct 2020 16:30 Hours. For one record of the above, I need 3 entries

1. 1400 Hours bucket 60 Minutes

2. 1500 Hours bucket 60 Minutes

3. 1600 Hours bucket 30 Minutes

Thanks in advance.

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.