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 / Add related items to r...
Power Apps
Unanswered

Add related items to record using the same list items

(0) ShareShare
ReportReport
Posted on by 64

Hello!

 

I have a SharePoint list of projects with a lot of information being tracked about each project. I now want to add a "related projects" option where users can pull up a project and identify any other projects in the same list as related. What is the best way to create a column to store the related projects so that I can update my Power App accordingly? Right now I'm just using the basic forms control due to time constraints. Down the road, I'd like to consider building a more customized input screen.

 

I tried adding a lookup column that pulls in all the projects in the list, but couldn't get that to play nicely in Power Apps- my form wouldn't show the lookup column as a field, and I wasn't exactly sure how to patch that information back to SharePoint. 

 

I thought about building a collection on app start to collect all of the items in the list, then within my form, creating a collection of the related projects, but wasn't sure the best way to write those back to SharePoint. 

 

Looking for advice/best practices for this type of relationship. Thanks!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    @JennC26 ,

    Firstly, you are right that Lookup columns are not really designed for Power Apps and there are things that are made considerably more complex unnecessarily. The easiest way the "relate" lists is to store the ID of the "parent" in a Numeric field in the "child" (I call mine IDRef) when you create the record. You then do a Filter function in a gallery

    Filter(
     Child,
     IDRef = YourParentID
    )

    to display all related records.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • JennC26 Profile Picture
    64 on at

    Thanks, @WarrenBelz! Would you recommend creating an additional text column and number column to write and store those related fields to then? 

  • WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    @JennC26 ,

    A number column is best as you can store the ID (a unique value which will not change) of the parent record.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard