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 Apps / Expand N:N intersect t...
Power Apps
Answered

Expand N:N intersect table with Dataverse Web API

(0) ShareShare
ReportReport
Posted on by 559

Hi All,

 

Lets say i have 2 tables

  • Employee
  • Training

These are in a N:N. When i query the Intersect table with EmployeeID = ID, it returns me all intersect records from that employee. Is it possible somehow to expand this query to hold all data about lets say the trainings it returned?

Best Regards,

Anthony

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Are you using a FetchXML query to do that? If so, I think you may need an (inner) join between your intersect table and your Training table to achieve what you're asking.

     

    If you're using OData, I think you may need to use $expand (https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/retrieve-related-entities-query)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anthony_Dob If my previous post solved your question, please consider clicking on "Accept as solution" to help the other members find it more quickly. Thanks! 🙂

  • AnthonyD Profile Picture
    559 on at

    I am Using OData queries. I don't think i can use a $expand on a Intersect table as i tried it. That is why i am asking here if there may be another way to get the related data in 1 query

  • Verified answer
    Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    with the OData Web API you don't need to start with the intersect table. Start with the employee table (so you put the filter there for employee id) and you expand the N:N relationship in order to get the training columns.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard