Announcements
SortByColumns(
AddColumns(
GroupBy(
Filter(
'Time Sheets',
'Date Worked' >= StartDate.SelectedDate &&
'Date Worked' <= EndDate.SelectedDate &&
(
Len(ComboBox8.Selected.'Employee Name') = 0 ||
'Team Member' = ComboBox8.Selected.'Employee Name'
) &&
(
Len(ComboBox9.Selected.'Project Name') = 0 ||
'Project Worked' = ComboBox9.Selected.'Project Name'
)
),
'Team Member',
GroupedItems
),
TotalRegularHours,
Sum(
GroupedItems,
'Regular Hours Worked'
),
TotalOvertimeHours,
Sum(
GroupedItems,
'Overtime Hours Worked'
),
TotalDoubleTimeHours,
Sum(
GroupedItems,
'Double Time Hours Worked'
),
TotalSickHours,
Sum(
GroupedItems,
'Sick Hours'
),
TotalSTATHours,
Sum(
GroupedItems,
'STAT Hours'
),
TotalVacationHours,
Sum(
GroupedItems,
'Vacation Hours'
),
ProjectWorkedDisplay,
If(
CountRows(
Distinct(
GroupedItems,
'Project Worked'
)
) = 1,
First(
Distinct(
GroupedItems,
'Project Worked'
)
).Value,
"Varies"
)
),
"ProjectWorkedDisplay",
SortOrder.Ascending
)
AddColumns(
GroupBy(
Filter(
'Time Sheets',
'Date Worked' >= StartDate.SelectedDate &&
'Date Worked' <= EndDate.SelectedDate
),
'Team Member',
GroupedItems
),
TotalRegularHours,
Sum(
GroupedItems,
'Regular Hours Worked'
),
TotalOvertimeHours,
Sum(
GroupedItems,
'Overtime Hours Worked'
),
TotalDoubleTimeHours,
Sum(
GroupedItems,
'Double Time Hours Worked'
),
TotalSickHours,
Sum(
GroupedItems,
'Sick Hours'
),
TotalSTATHours,
Sum(
GroupedItems,
'STAT Hours'
),
TotalVacationHours,
Sum(
GroupedItems,
'Vacation Hours'
)
)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.