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 / Display family records...
Power Apps
Answered

Display family records in a model driven app form grid

(0) ShareShare
ReportReport
Posted on by 16

I have a table called "Billing Entries," which stores all line items related to billing. This table is connected to another table named "Projects" through a many-to-one relationship. Specifically, each billing entry is linked to a single project.

 

What I'm looking to do is add a subgrid to the "Billing Entries" form that displays other billing line items that are associated with the same project. The purpose of this is to easily compare billing items from previous months for quality control. Is this possible to implement? Any guidance or recommendations would be greatly appreciated.

I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    @SandlineGlobal 

     

    You can create new sections and add as many subgrids as you like. As long as there is a relationship between the current record and those records its a no brainer, but if you are trying to just list others from something else, that is not directly related (with a lookup), then no its not that straight forward sorry.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • SandlineGlobal Profile Picture
    16 on at

    Hi @FLMike, thanks for the reply. The relationship between the current record and the ones I want to display is they share the same project. This is easy to do directly from the project form, but can't figure out a way to get it to work directly from the billing entry record.

  • Verified answer
    ivan_apps Profile Picture
    2,189 Moderator on at

    So if I understand correctly you have:

    Billings - 1:N - Billing Entries

    Billing Entries - N:1 - Projects

     

    As you are creating a Billing Entry, you want to reference the selected Project’s other Billing Entries (prior to create and after create?)

    A subgrid with custom fetchXML used to be the solution to this (only after creation of the record), but that is no longer supported. There are 2 supported methods that I can think of.

     

    1. Create an embedded canvas app. Ensure you create a text field and go to classic editor to launch the canvas app and you’ll have a ‘ModelDrivenFormIntegration’ add-in that you can reference fields within the form. Reference the Projects lookup and build a gallery that shows Billing Entries that match the selected project.

    Docs: https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/embedded-canvas-app-add-classic-designer

     

    2. Add a reference panel/Side Pane. On select of your project (onchange), you can add JS code to create a reference panel on the right that opens a specific form from another table. Create a form on your Project table that just has a subgrid of Billing Entries and open that  form as the reference panel. Alternatively you could create a Custom Page and pass the Project GUID as a deep link parameter and have it show a gallery of related Billing entries in the reference panel.

    Side Panes Docs: https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/create-app-side-panes

     

  • SandlineGlobal Profile Picture
    16 on at

    Thanks so much for the ideas. This just unlocked so many possibilities!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard