Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I am trying to calculate the workload of each employee. In one file I have the Tasks that have to be completed. These have been coded by numbers and occur multiple time.
In the other file I have the average time it takes for an employee to complete each said task. This needs to be in a seperate table as we get increasing numbers of surveys, allowing us to get more accurate readings.
What i need to do is to calculate the number of occurences for each task and multiply it by the average time it takes to complete the tasks thereby getting the total workload. As the first file is updated daily, I would prefer to not combine the tables, should that even be an option. In Excel I could do it with a CountIF and a VLOOKUP but I am not certain if there is a DAX equivalent to this issue.
Thank you for your help.
Kind Regards,
KarthikM
Solved! Go to Solution.
Here are two sample tables.
Name | AM |
Jane Doe | 3 |
Jane Doe | 2 |
John Doe | 4 |
John Doe | 5 |
John Doe | 5 |
John Doe | 5 |
Jane Doe | 5 |
Jane Doe | 3 |
AM Time 1 Time 2 Time 3 Time 4 Time 5 Avg Time
1 | 2.80 | 10.55 | 15.91 | 14.20 | 13.86 | 11.46 |
2 | 10.97 | 6.86 | 1.65 | 6.22 | 15.24 | 8.19 |
3 | 9.16 | 2.22 | 14.21 | 0.10 | 0.84 | 5.31 |
4 | 0.02 | 4.56 | 1.03 | 12.85 | 2.78 | 4.25 |
5 | 3.46 | 0.51 | 15.00 | 6.32 | 5.81 | 6.22 |
I need to count how many "AM's" per person are available (How many 1's for Jane Doe; How many 2's for Jane Doe etc)
Then multiply this with the avg. time (Count 1's Jane Doe * 11.46; Count 1's John Doe * 11.46 etc)
Then create a Bar diagram to show the workload that each person has in theoretical time.
Essentially like a Yamazumi diagram.
Im sorry for the formatting. It has been a while since I used HTML
I hope this clarifies the issue.
Kind Regards,
KarthikM
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 |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |