web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Create Segment with Contacts that have interacted (either by clicking or opening an email) in the last 30 days

(0) ShareShare
ReportReport
Posted on by 10

I would like to create 3 segments, one with contacts with interactions (email clicked) in the last 30 days, 2 segment of contact that interacted in the last 60 days and greater than 30 days, and 3 segment that interacted in the last 90 days but greater than 60 days. That is so the same contact is not in the first two lists. I have not been able to get that to work. My query for the 2nd segment is:

INTERACTION(EmailOpened, EmailOpened_Contact)
.FILTER(ISNOTNULL(Timestamp))
.HAVING(COUNT() > 0, UTCDAYS(60))
UNION
INTERACTION(EmailClicked, EmailClicked_Contact)
.FILTER(ISNOTNULL(Timestamp))
.HAVING(COUNT() > 0, UTCDAYS(60))

But it included all contacts that have interactions of less than 30 days. I only want contacts that are greater than 30 and less than 60.

Thank you.

I have the same question (0)
  • Suggested answer
    Yuri ji Profile Picture
    Microsoft Employee on at

    Hi,

    You can try adding a step that will exclude customers who interact within 30 days.

    EXCEPT
    INTERACTION(EmailClicked, EmailClicked_Contact)
    .FILTER(ISNOTNULL(Timestamp))
    .HAVING(COUNT() > 0, UTCDAYS(30))

    pastedimage1663134311691v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 119

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans