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,...
Answered

Segment based on dynamic dates

(0) ShareShare
ReportReport
Posted on by 205

Hello, 

I like to segment my customer based who submitted the form today only do you know how I can add this to query, here is my current filter:

INTERACTION(FormSubmitted, FormSubmitted_Contact)
.FILTER(FormId == 'xxx' && Timestamp >= DATE(2020, 5, 19, 0, 0))
.HAVING(COUNT() > 0)

Segment.JPG

Many Thanks, 
Elly

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Elly,

    You could set a moving-window filter to only consider interactions that occurred recently.

    e.g: The segment will find contacts who submitted a specific form in last 1 day.

    1184.JPG

    https://docs.microsoft.com/en-us/dynamics365/marketing/segments-interaction

    2318.JPG

    Regards,

    Clofly

  • Elly-Farokhi Profile Picture
    205 on at

    you are amazing Cofly, thank you so much

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 129 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans