Hi @Anonymous,
Do you also want to remove multiple items whose PONumber column value is equal to the PONumber value of the selected item in your Gallery1?
I have made a test on my side, please take a try with the following workaround:
Set the OnSelect property of the "Remove" button to following:
RemoveIf('POOrderDetails', PONumber = Gallery1.Selected.PONumber); /* <-- Add formula here. Please type this formula before the Remove('PO Log', Gallery1.Selected)*/
Remove('PO Log', Gallery1.Selected);
If(
IsEmpty(Errors('PO Log', Gallery1.Selected)),
...
)
Or
Remove('POOrderDetails', Filter('POOrderDetails', PONumber = Gallery1.Selected.PONumber)); /* <-- Add formula here. Please type this formula before the Remove('PO Log', Gallery1.Selected)*/
Remove('PO Log', Gallery1.Selected);
If(
IsEmpty(Errors('PO Log', Gallery1.Selected)),
...
)
More details about Remove function and RemoveIf function, please check the following article:
Remove function, RemoveIf function
Best regards,