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.
I have to calculate the number of workers working on a machine at the same time. I have a column with the start time, another with the end time, I have another column with the worker code, and another column with the machine number. The only thing I have been able to get is the different number of workers who have worked throughout the day, but the result, which is 32, is not what I needed, since that is the total number of workers who have worked on the machine throughout the day. What I need to know is how many have worked at the most at the same time, but I can't figure it out. Would anyone know how to do it?
Thanks a lot
and I need to know how many operators have coincided at the same time at most throughout the day 19/01/2024 on machine A2. Because there are operators who come in, come out, and come back in, but I need to count the maximum number of workers who have worked together, and not the total number of operators who have gone through this machine
to know which machine worked at the same time, you duplicate the table . then crossjoin the orginal table with duplicatred one and filter where machine name = machine name .
then you can use filter, to check base on the business logic, and comparing start times and end times .
the result would be the machines that worked togther.
exmaple :
table1
table2 ( duplicate of table1)
calculated table =
var datasource =
filter(
crossjoin ( table1 , table2 )
,table1[machine_number] <> table2[machine_number]
)
var result =
filter(
datasource ,
// add the filters base on the business logic seperated by && or || )
)
return result
NB : && -- and condition , || or condition
If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that thumbs up button 🫡👍
Here's my chart:
| DateMatchday | worker | HomeDay | EndDay | Machine |
| 19/01/2024 | 0143020 | 1:57:46 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6072835 | 9:48:12 AM | 9:58:57 AM | A2 |
| 19/01/2024 | 7791391 | 10:31:53 AM | 10:39:43 AM | A2 |
| 19/01/2024 | 6072690 | 2:26:33 PM | 2:26:51 PM | A2 |
| 19/01/2024 | 8157820 | 2:33:13 PM | 3:19:20 PM | A2 |
| 19/01/2024 | 8157820 | 3:24:35 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 8157989 | 9:06:06 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 8284176 | 7:55:53 AM | 12:28:51 PM | A2 |
| 19/01/2024 | 6072690 | 2:26:51 PM | 4:18:09 PM | A2 |
| 19/01/2024 | 6072690 | 4:18:09 PM | 4:28:50 PM | A2 |
| 19/01/2024 | 6072690 | 4:28:50 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6363659 | 10:23:44 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 0124560 | 1:57:46 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6363659 | 7:57:16 AM | 10:13:18 AM | A2 |
| 19/01/2024 | 6363659 | 10:13:18 AM | 10:23:44 AM | A2 |
| 19/01/2024 | 6363659 | 1:59:06 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 5227558 | 1:57:46 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 5227558 | 7:55:53 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 6372593 | 9:06:06 AM | 11:40:59 AM | A2 |
| 19/01/2024 | 6071558 | 7:54:41 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 0124461 | 7:55:53 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 8996978 | 8:13:39 AM | 10:59:17 AM | A2 |
| 19/01/2024 | 6034636 | 9:02:32 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 0124502 | 7:38:59 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 0124502 | 2:00:34 PM | 3:39:37 PM | A2 |
| 19/01/2024 | 7791452 | 2:33:13 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 8158010 | 12:28:51 PM | 1:00:01 PM | A2 |
| 19/01/2024 | 8158010 | 11:03:43 AM | 12:17:57 PM | A2 |
| 19/01/2024 | 6416630 | 7:58:56 AM | 8:06:28 AM | A2 |
| 19/01/2024 | 0124461 | 1:57:46 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 3800639 | 7:54:41 AM | 1:00:01 PM | A2 |
| 19/01/2024 | 0124617 | 2:27:57 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6363695 | 4:28:50 PM | 4:37:30 PM | A2 |
| 19/01/2024 | 0124571 | 2:33:13 PM | 3:16:02 PM | A2 |
| 19/01/2024 | 6416630 | 3:54:45 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6416630 | 3:46:59 PM | 3:54:45 PM | A2 |
| 19/01/2024 | 6416630 | 2:26:51 PM | 3:46:59 PM | A2 |
| 19/01/2024 | 6363695 | 2:29:26 PM | 4:28:50 PM | A2 |
| 19/01/2024 | 9022024 | 2:27:57 PM | 4:14:19 PM | A2 |
| 19/01/2024 | 6363695 | 4:37:30 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 9022024 | 4:30:25 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 0124571 | 3:16:02 PM | 3:24:35 PM | A2 |
| 19/01/2024 | 0124571 | 3:24:35 PM | 5:00:21 PM | A2 |
| 19/01/2024 | 6372593 | 11:40:59 AM | 11:55:41 AM | A2 |
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 |
|---|---|
| 78 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |