Hi,
Trying to search (the searchbox headerProject_1.SearchValue) items from two different lists, however getting the delegation warning and search isn't working. as you can see in the image below.
This peace of code is creating the problem, any better way to do it ? headerProject_1.SearchValue is the searchbox.
headerProject_1.SearchValue in Filter('DC-SS-Setup-Project',RequestID=RequestID).'NetSuite SOW ID')),
Delegation warning.

Here is the complete code.
SortByColumns(
Filter([@'DC-SS-Requests'],
Or(IsBlank(cboStatusFilter_Admin_1.Selected.Value),IsEmpty(cboStatusFilter_Admin_1.SelectedItems),Status=Index(cboStatusFilter_Admin_1.SelectedItems,1).Value,Status=Index(cboStatusFilter_Admin_1.SelectedItems,2).Value,Status=Index(cboStatusFilter_Admin_1.SelectedItems,3).Value),
Or(IsBlank(cboRequestorFilter_Admin_1.Selected.Email),IsEmpty(cboRequestorFilter_Admin_1.SelectedItems),StartsWith(Requestor.Email,cboRequestorFilter_Admin_1.Selected.Email)),Or(IsBlank(cboAssignedToFilter_Admin_1.Selected.Email),IsEmpty(cboAssignedToFilter_Admin_1.SelectedItems),StartsWith(AssignedTo.Email,cboAssignedToFilter_Admin_1.Selected.Email)),
Or(IsBlank(cboRegionFilter_Admin_1.Selected.Result),IsEmpty(cboRegionFilter_Admin_1.SelectedItems),Region=Index(cboRegionFilter_Admin_1.SelectedItems,1).Result,Region=Index(cboRegionFilter_Admin_1.SelectedItems,2).Result,Region=Index(cboRegionFilter_Admin_1.SelectedItems,3).Result),
Or(IsBlank(cboTypeFilter_Admin_1.Selected.Result),IsEmpty(cboTypeFilter_Admin_1.SelectedItems),RequestType=Index(cboTypeFilter_Admin_1.SelectedItems,1).Result,RequestType=Index(cboTypeFilter_Admin_1.SelectedItems,2).Result,RequestType=Index(cboTypeFilter_Admin_1.SelectedItems,3).Result),
Or(IsBlank(cboCustomerFilter_Admin.Selected.Result),IsEmpty(cboCustomerFilter_Admin.SelectedItems),Customer=Index(cboCustomerFilter_Admin.SelectedItems,1).Result,Customer=Index(cboCustomerFilter_Admin.SelectedItems,2).Result,Customer=Index(cboCustomerFilter_Admin.SelectedItems,3).Result,Customer=Index(cboCustomerFilter_Admin.SelectedItems,4).Result,Customer=Index(cboCustomerFilter_Admin.SelectedItems,5).Result),
Or(
StartsWith(Customer,headerProject_1.SearchValue),
StartsWith(AssignedTo.DisplayName,headerProject_1.SearchValue),
StartsWith(Requestor.DisplayName,headerProject_1.SearchValue),
StartsWith(RequestID,headerProject_1.SearchValue),
StartsWith(Status,headerProject_1.SearchValue),
StartsWith(Region,headerProject_1.SearchValue),
headerProject_1.SearchValue in Filter('DC-SS-Setup-Project',RequestID=RequestID).'NetSuite SOW ID')),
conSortColumn,
If(!con_SortID,
Descending,
Ascending
)
)