I'm trying to accomplish a calculation that I'm not sure how to do or if possible. I think I should be using the If statement and pull data but not sure how to put it together. I'm trying to determine if the Customer Address that was filled out in the Survey is contained as a record in the Account Address field of a hosted table. If it is, then I want it to return Y, if not then return N.
This is what I got so far but it doesn't update the attribute on the field to Y or N.
if(pulldata("@layer", "getValue", "attributes.acct_address", "https://.../FeatureServer/3", ${cust_address}), 'Y', 'N')