Creating a query | Community
Skip to main content
hannahw84397540
July 3, 2019
Solved

Creating a query

  • July 3, 2019
  • 5 replies
  • 3641 views

Hello,

I am looking to create a query than investigates 'customers who have opened an email ever but have not opened in the last 9 months'

The below isn't working, does someone have a different logic to achieve the above please?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

Hi Hannah,

you may just switch to Advanced Mode and define a range criteria there.

e.g. following to filter on "Creation Date":

  @created >= MonthsAgo(6) AND @created < MonthsAgo(3)

5 replies

Adobe Employee
July 3, 2019

Question here would be on the retention of the tracking logs.

Default ACS retention is 6 months (see  Data retention )

If there was no custom retention agreed on your instance, you would not have any data older than 6 months.
Thus, the query would never match anything then
hannahw84397540
July 3, 2019

Urgh that's rubbish! Thank you.

hannahw84397540
July 3, 2019

Is there a way to create a range that is also relative?

For example the customer opened between 3 & 6 months ago rather than having to set between May & July

bisswangAdobe EmployeeAccepted solution
Adobe Employee
July 3, 2019

Hi Hannah,

you may just switch to Advanced Mode and define a range criteria there.

e.g. following to filter on "Creation Date":

  @created >= MonthsAgo(6) AND @created < MonthsAgo(3)

hannahw84397540
July 3, 2019

Thank you!