I am trying to update rows with Lookup fields in Dataverse by passing a table of GUIDs in JSON format to power automate. Issue is, the GUID is not always provided:

If I patch a null to a lookup field using the /entitysetname(key) format in the 'Update a Row' action I get an error returned:

This is because it is null.
My question is, is there a way to add coalesce() or if( isnull(Basis GUID) ) so that power automate can just skip this row?
I tried this, but power apps gives me a "Fix invalid expression(s)" error

I just want to pass nothing to this field if items('Apply_to_each')['Basis GUID'] is null.