Forum Discussion
Anonymous
2 years agoNot applicable
Calculate Hours Worked Per Week For Each Employee ID
I am very new to Power BI and cannot figure out the DAX to solve my problem. I have a table of data in Power BI that looks like the following table: Site EmployeeID Name Date Clocked Presence...
- 2 years ago
Hi Anonymous
Would a measure like this help?
Total by Emp and Week = CALCULATE( SUM( 'Table'[Clocked Presence] ), ALLEXCEPT( 'Table', 'Table'[EmployeeID], 'Table'[Week] ) )Let me know if you have any questions.
gmsamborn
Super User
2 years agoHi Anonymous
Would a measure like this help?
Total by Emp and Week =
CALCULATE(
SUM( 'Table'[Clocked Presence] ),
ALLEXCEPT( 'Table', 'Table'[EmployeeID], 'Table'[Week] )
)
Let me know if you have any questions.
Anonymous
2 years agoNot applicable
Awesome that worked like a charm, I accepted it as the solution.