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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Fetchxml Filter on an ...
Power Pages
Unanswered

Fetchxml Filter on an entity list

(0) ShareShare
ReportReport
Posted on by 581

Hi

 

I want to filter an entity list. However I need the filter to link to another entity (there is no lookup), and then to a third entity after that.

 

Is this possible to do?

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @lee-martin  ,

    In order for this to work, the linked entities must be connected via relationship.

    For example if i have this structure  Accounts > Contacts > Opportunities and i want to list all open Opportunities for the Account via fetch xml , i need to use to lookup field (came from relationship) in order to do that.

     

    ref this link https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/143038/fetchxml-linked-entity-with-lookup-filter 

  • Lee-Martin Profile Picture
    581 on at

    Thanks @Anonymous 

    Is there no chance of doing it (even if another way) if the entity isn't linked?

     

    Thanks

    Lee

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Can you please give an example?  like filter entity B based on a text field in entity A ? 

  • Lee-Martin Profile Picture
    581 on at

    Contact table linked to Teams table

    Country table (not linked to Teams, but has a common field of "Short name" which can be compared)

     

    I have the contact, and so need to get the Team from the contact (which is linked). I then need to use the Team "Short name" field, and match it with the "short name" field in Country.

     

    This is a legacy system and I don't think creating the link between Team and Country would be possible.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @lee-martin  is that a close representation to what your tables looks like ?

     

    Manar_0-1638140728459.png

     

  • Lee-Martin Profile Picture
    581 on at

    Yes it is

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 117

#2
Mohsin Ali Profile Picture

Mohsin Ali 37

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard