Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

'For Each' data in email

(0) ShareShare
ReportReport
Posted on by 222

Hi everyone

Is it possible to do a "for each" loop through related data, where the relationship is not directly to the Contact?

I have 2 requirements:

  1. Display information from an entity that's in the 1:n relationship with the Account entity.
    So it's basically 2 hops away from the Contact entity.

  2. Is it possible to return a subset of records (based on a filter query) from that 1:n relationship between the Account and the other entity?
    E.g. only the records created this month

Thanks very much
Rean

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: 'For Each' data in email

    Hi Rean,

    Unfortunately, it’s not supported to describe a relationship which is more than 2 levels. (e.g. Contact > Event > Building)

    Here is a similar proposal posted by other one and you can vote for it to drive it to be improved.

    Microsoft Idea  · Content Assist deeper than 2 levels/hops (dynamics.com)

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans