Hello,
I have the following data:
I’m trying to create a calculated field to flag when marketing campaigns emails from different campaigns will be sent less than 2 weeks apart. e.g.: in this example, the Rose email2 and Shamrock email1 are less than 2 weeks apart.
I’ve tried this:
ifelse(
datediff(Email1, Email2, ‘DD’) < 14, concat(Marketing_campaign, ’ (Email1) overlaps with ‘, Marketing_campaign, ’ (Email2)’),
datediff(Email1, Email3, ‘DD’) < 14, concat(Marketing_campaign, ’ (Email1) overlaps with ‘, Marketing_campaign, ’ (Email3)’),
datediff(Email2, Email3, ‘DD’) < 14, concat(Marketing_campaign, ’ (Email2) overlaps with ‘, Marketing_campaign, ’ (Email3)’),
‘No Overlap’
)
but it only perform the check for each individual row, which is exactly the use case I’m not interested in. I only want to know if two different campaigns have emailed scheduled for less than 2 weeks apart.
Is this something I could do on QuickSight?
Thanks