Hey good morning! I was wondering where in the shield legal data set do we keep CD or the media buyer in the Leadspedia data that we pull from Leadspedia?
I would have to look deeper but a quick way is in the Leadspedia data sets is to strip it out of the S1
SELECT
SPLIT(SPLIT(allsoldleads.s1, '-')[SAFEOFFSET(1)], '')[SAFEOFFSET(0)] AS mediasource,
SPLIT(SPLIT(allsoldleads.s1, '-')[SAFEOFFSET(2)], '')[SAFEOFFSET(0)] AS mbinitials
FROM
shield-legal-bi.leadspedia.allsoldleads AS allsoldleads;