Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello Power BI community, I will need some help for this task.
I have two working schedule, the first one include working on saturday for 8 hours whereas the second one only works for 5 hours on that day. I created a calculated column to have a full calendar (removing the sundays) and specify the number of hours per day :
The total number of hours worked and the names are on a non calculated table.
The objective is to calculate depending on the person the % of hours worked (filtred by the number of days)
In short : I want to devide "number of hours worked" by "sum work hour normal/exception" depending on the person.
Thank you for your time and help!
@Anonymous , You already have that part of your table
divide(Sum(Table[Work Hour Normal]), Sum(Table[Work Hour exception]) )
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thank you, but this does not help me sadly ; i created a new pbix document to share in hope of help (but it seems I can't share it here).
here are examples of all table used :
| ID_R | R | R_date |
| 1 | work1 | 01/05/2023 |
| 2 | work2 | 01/05/2023 |
| 3 | work3 | 02/05/2023 |
| 4 | work4 | 06/05/2023 |
| 5 | work5 | 06/05/2023 |
| 6 | work6 | 08/05/2023 |
| ID_R_person | ID_R | person | time taken (h) |
| 1 | 1 | A | 3,00 |
| 2 | 1 | B | 3,00 |
| 3 | 2 | C | 2,00 |
| 4 | 2 | A | 3,00 |
| 5 | 4 | B | 4,00 |
| 6 | 5 | C | 3,00 |
| 7 | 5 | D | 3,00 |
| 8 | 6 | D | 4,00 |
| 9 | 6 | B | 4,00 |
What i need to do :
| person | hours spent on task | what i want |
| A | 6,00 | 0,11 |
| B | 11,00 | 0,20 |
| C | 5,00 | 0,09 |
| D | 7,00 | 0,13207547 |
here are the calculate column used and they DAX function :
A,B and C needs to be divided by 56 whereas D needs to be divided by 53. In my case I only have two people that are exception to the rule, that i can identify with their name.
I am sorry I can't share the pbix document but I did my best to help you help me, in hope of having a solution to this issue, thank you again!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |