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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Create Measure of available hours per month

Community

I use your help in ideas of how to create a measure to measure the number of hours in a month a person is at 100%

I have a table with the number of working hours in a month for each of the agents, and separated into three shifts

AdolfoE_CR_0-1685651598218.png

And I also have a list of Sharepoint where incidents are added during the month, such as>
-Vacation
-Disabilities
-Overtime
etc.

AdolfoE_CR_1-1685652287626.png

I make sure that month by month I add or subtract the number of hours available to calculate the availability of monthly hours.

There is already a table where there is an estimate of minutes it takes to solve each incident according to several pre-established categories.

I thank you in advance for the help.

Adolf E
Costa Rica

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Thank you and attach some sample data

The agents have an ordinary day and the idea is that through this list they add or subtract hours of the corresponding day

Event startEvent endAgent nameEvent typeTotal HoursNumber of days
5/16/20235/16/2023Agent 4Sick leave81
5/22/20235/26/2023Agent 14PTO15
5/22/20235/23/2023Agent 7PTO162
5/4/20235/4/2023Agent 2PTO81
5/18/20235/18/2023Agent 2PTO81
5/15/20238/15/2023Agent 17Maternity License190
4/23/20234/23/2023Agent 10Overtime31
5/1/20235/1/2023Agent 10Overtime61
5/8/20235/8/2023Agent 10Overtime31
5/15/20235/15/2023Agent 10Overtime31
5/14/20235/14/2023Agent 4Overtime41
5/15/20235/15/2023Agent 4Overtime41
5/22/20235/22/2023Agent 5Overtime61
5/12/20235/12/2023Agent 11Overtime11
5/6/20235/6/2023Agent 11Overtime11
5/5/20235/5/2023Agent 11Overtime41
4/29/20234/29/2023Agent 11Overtime41
5/13/20235/13/2023Agent 1Overtime41
5/12/20235/12/2023Agent 1Overtime41
5/5/20235/5/2023Agent 1Overtime31
4/29/20234/29/2023Agent 1Overtime31
4/29/20234/29/2023Agent 14Overtime81
5/3/20235/3/2023Agent 11PTO81
5/4/20235/4/2023Agent 4PTO81
5/12/20235/12/2023Agent 4Overtime41
5/29/20235/29/2023Agent 10PTO81
5/29/20235/29/2023Agent 15PTO81

If an agent asks for a leave it is subtracted from the number of hours available for the month, but if he did overtime they are added.

In turn, each agent takes Support tickets that are equivalent to a certain amount of time according to the type of client, and the result would be to take out of their available time of the month, and number of tickets taken, how much was the percentage of the time they spent working on these tickets.

I hope it has been the most explanatory

Thanks in advance

Adolfo CR

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.