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 / Showing related Many t...
Power Apps
Answered

Showing related Many to Many entity as datasource in PowerApps

(0) ShareShare
ReportReport
Posted on by 2

I have an Entity Teacher which has many to many relationship with another Entity called Student.

I am embedding the app in the Model Driven of Entity Teacher. In the embedded app, I want to display list of students from the recordid of Teacher.


I created a gallery where list of students are shown and set the Item in gallery as 

ModelDrivenFormIntegration.Item.Students

which I think should have work but is not showing anything.

 

I tried to LookUp Teacher with the record Id from item and tried this as well

LookUp('Teachers', new_teacherid = ModelDrivenFormIntegration.Item.teacherid).Students

I even tried using guid

LookUp('Teachers', new_teacherid = GUID("ffdea424-e5a2-e911-a96a-000d3a4e75ec")).Students

It gives on loading forever.

 

FYI: The student entity has around 150 fields.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @summitb ,

     

    Check if below blog could help:

    https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-tables/

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @summitb how are you progressing with this? Was the above reply helpful?

     

    @Anonymous 

  • Verified answer
    summitb Profile Picture
    2 on at

    Started working so no more an issue.

    ModelDrivenFormIntegration.Item.Students

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
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard