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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am working with a TimeClock database. This database tracks Projects performed in an auto repair shop.
The employees clock in and clock out of each job. The "Job" has a specific code. Multiple people could login and apply time to any particular job. The time is registered in the database using a (Time IN) and (Time Out) seperate entry so in order to get the actual time worked on a job I have to calculate the difference between the Time IN and Time Out.
I'm using this DAX in a quick measure
DATEDIFF ( 'EmployeeHours'[TimeIn], 'EmployeeHours'[TimeOut], MINUTE ) / 60.00
The problem with this is that I'm trying to create a visual that details which jobs are in progress currently. When I apply a FILTER to show only those jobs the calculation for All the time applied is only calculated for the resulting data set and no longer includes the total time applied to that specific job.
How can I get the totatl time calculation to remain the same regardless of if a filter is applied or not?
Before Filter:
After Filter:
Hi @onebrady,
Could you please share us your pbix file with One Drive or Google Drive if possible? With current information, it is hard for us to tell where the issue is. ![]()
Thanks,
Xi Jin.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |