I need to calculate a field for a Data Extension based on multiple records in another Data Extension.
JourneyEntrance (Data Extension to be updated)
SubscriberKey
, PolicyNumber
, Complete
Cases (Data Extension to reference)
SubscriberKey
, PolicyNumber
, StatusCode
I need to updated JourneyEntrance.Complete
field to True if All records in Cases have a StatusCode
of E
or N
. If any Cases
record has a value other than E
or N
then the JourneyEntrance.Complete
will be False
. The records are related based on PolicyNumber
.