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 / Read a Relation in Com...
Power Apps
Unanswered

Read a Relation in Common Data Service

(0) ShareShare
ReportReport
Posted on by 24

I am using powerapps with Common Data Service. I have Entity Team, which has got a Relotion Team <-> Utenti (many to many) with relation name teammembership_association and entity-relation name teammembership.
I want to use this relation in code (a ClearCollect) for enter in input a user and copy in the ClearCollect the records of Team.
How to do? Are possible any examples?
Thank

 

 

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

    Hi @BlackRos ,

    Could you please share a bit more about your scenario?

    Could you please show more details about the ClearCollect(...) formula you used in your app?

    Further, do you want to save the RelationShip data into a Collection or just use the Relationship to collct data from your two Entities?

     

    If you want to save your RelationShip data ito a Collection, I afraid that there is no way to achieve your needs in PowerApps. There is also an known issue with Relationship (LookUp column) within PowerApps app -- when saving the LookUp field into a Collection, the LookUp field in the collection would not be populated with proper records.

     

    If you want to use the Relationship to collct data from your two Entities, please check and see if the following article or blog would help in your scenario:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-relate-unrelate

    https://powerapps.microsoft.com/en-us/blog/relate-records-in-many-to-many-relationships/

     

    https://www.youtube.com/watch?v=X6PaYaC1iR4

    https://www.youtube.com/watch?v=GJMpNj6-NXY

     

    Best regards,

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

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard