Good Morning,
Yep, me again. This is the code I found to filter data based on a selection from one screen to open another.
This is the original code from the template:
Select(Parent);
Set(
selectedTimeCard,
ThisItem
);
ClearCollect(selectedTimeEntries,
Filter(
TimeEntries,
Title = selectedTimeCard.Title && Employee.Email = currentUser.Email
));
Navigate(TimeCardContinue)
I thought I understood all the variables and managed to personalize them for the next screen. But it appears I haven't because the next screen only shows one entry in the list, and it is the same entry regardless of what option has been selected.
This is my updated code.
Select(Parent);
Set(
selectedTimeCard,
ThisItem
);
ClearCollect(colTimesheetDetails,
Filter(
EMR_tblFinance_Timesheets_APP,
WeekTitle= selectedTimeCard.WeekTitle && 'Employee Name'.Email = User().Email
));
Navigate(TimeCardContinue)
My collection is colTimesheetDetails.
My list is EMR_tblFinance_Timesheets_APP.
I think the filter is broken or ineffective.
I know the employee side of it works, but the title part does not. These are the two fields that I want to use to filter the data.


The calculation for the calculated field is:

Can a collection be filtered by a calculated field?
Is there anything wrong that jumps out at you?
I am so close to being finished I can taste it...
You guys have been so supportive, talented, and useful.
Tammy