This is my first time using Dataverse on Power App, I have a gallery that is displaying an item from a collection, i want to clear the collection and Update the record from the database by filtering the record based on two conditions (i.e I only want to display the record that meets two conditions).
I wrote the code this way but its not pulling out any of the records:
Clear(tempdata); Reset(gallerypositionsdefault);
Collect(
tempdata,
Filter('Position Holders',erms_rou_id=Value(txtregunitid.Text) && erms_eid = Value(TextInput3_6.Text)-1 ));
UpdateContext({varShowPopup:false});
I would appreciate guidance from anyone. Thanks