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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to retrieve data f...
Power Apps
Answered

How to retrieve data from related Records in CDS

(0) ShareShare
ReportReport
Posted on by 34

 

Hi, using the example below(see hyperlink), what's the best way to retrieve the related records and display them in a view, for example? Remember there is no lookup column in this example. I am using Dataverse.  Any idea would be helpful. 

https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-relate-unrelate

 

Thank you very much,

I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @Emile_1944, If you are displaying them in a Canvas App. Use, your ParentTable.SelectedRecord.RelatedTable.

    Usually I use a Gallery to show the Parent Table and another Gallery or Data Table to show the related Records in the Child Table.

    1st Gallery Items Property: ParentTable Name

    2nd Gallery/Data Table Items Property: 1stGallery.Selected.ChildTableName

     

    Regards,

    Ahmed

    If my reply helped you, please give a 👍. And if it has solved your issue, please consider a 👍 & Accepting it as the Solution to help other members of the community find it more.

    My Blog: www.powerplatformplace.com

      

  • Emile_1944 Profile Picture
    34 on at

    AhmedSalih, that works. And since I have 3 tables, I use 3 galleries to display data. I am also able to use each table as the parent gallery, and that gives me more options. I spent a long time trying to make this work, but it's working now. Thanks for your tips. Now I will see how I can put all of that data into a collection, but that's for later. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard