I have tried several times with Search, Filter and then Lookup. The table is called "Trackings", my text box is called txt_Search_Assigned and the field is "Assigned to:" and is a lookup field using the AAD. When I add Search or Filter to the code below, I either get a incompatible search type or just an error with no other hints except something is wrong. I am in Teams trying to build a Canvas app. Thank you for any help in figuring this out.
This code works great.
Sort(
Search(
Filter(
Trackings,
IsBlank(dd_Search_Status.Selected.Value) || IsEmpty(dd_Search_Status.Selected.Value) ||'Status (crc44_status)' = dd_Search_Status.Selected.Value),
txt_search_Subject.Value,"crc44_subject"),
'CPAR Number',
SortOrder.Descending
)
*********************************
This code does not work.
Sort(
Search(
Search(
Filter(
Trackings,
IsBlank(dd_Search_Status.Selected.Value) || IsEmpty(dd_Search_Status.Selected.Value) ||'Status (crc44_status)' = dd_Search_Status.Selected.Value),
txt_search_Subject.Value,"crc44_subject"),
txt_search_Assigned, "crc44_Assignedto:"),
'CPAR Number',
SortOrder.Descending
)