Hi All,
I have tried numerous times to get this to work and am out of ideas. I have a contact list with a column of "Name" and "OvertimeEligible". I also have an Overtime Tracking list with columns "Employee Name" and "Hours Worked".
I would like to create a gallery which displays all the OvertimeEligible employees and for each employee, looks up the sum of "Hours Worked" in the Overtime Tracking list. I have been using variations of the following formula in the Gallery "Items" with no success:
AddColumns(Filter('Contact List',OvertimeEligible=true),"SumOfHoursWorked",Sum(Filter('Overtime Tracking','Employee Name' = Name),'Hours Worked'))
I believe this may have something to do with record scope. When I add a label and use just the sum portion of the above formula, the label displays the proper values. When it is done inside a gallery, it displays a blank value (no error, just no value).
Thank you!

Report
All responses (
Answers (