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

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Subgrid not showing related records

Like (0) ShareShare
ReportReport
Posted on 19 Jan 2022 14:31:11 by 73

Hi everyone,

 

I have 2 tables in dataverse with a 1:N connection. The 1st table lists general records with service orders and the 2nd one the details of the orders. What I did:

 

- I created a 1:N relation in my 1st table

- I created a lookup column in my 1st table

- I created my subgrid with the ability of selecting a view and the related content selected.

 

No success, the subgrid isn't showing the related content. What I did wrong ? Thanks for the help.

 

Regards

I have the same question (0)
  • Forrest Zhang Profile Picture
    12 on 04 May 2024 at 02:41:31
    Re: Subgrid not showing related records

    I had another issue in the view that parent table was missing in the Related table drop down list. I finally resolved by enable the "Searchable" option in the relationship setting. 
    Not sure if my solution can work for your issue. but you may give a try.
    The following is the details of my issue and soluton, just for your reference.

     

    https://www.hellosmart.ca/2024/05/how-to-include-related-entity-columns.html

  • Thami Profile Picture
    on 16 Jan 2024 at 13:27:28
    Re: Subgrid not showing related records

    For this to work, the lookup field must be created in table 2 which is the details of the order (DETAILS-CHILD), this will treat table 1 orders as the (HEADER-PARENT). I can't create the parent as a sub to the child.

  • Casper Profile Picture
    41 on 20 Feb 2023 at 21:27:02
    Re: Subgrid not showing related records

    Thank you, I had the same problem, this fixed it!

  • Togusa Profile Picture
    42 on 26 Oct 2022 at 15:14:49
    Re: Subgrid not showing related records

    I've had the same problem: editable subgrid, with "related records" selected, but instead of the related records, all of the records are shown, all the time.

     

    This is how I fixed it.

    First you need to switch to the "Classic" form editor, then in the "Editable Grid" properties you need to change the record type to "any record type", it doesn't matter which table and view you choose at this point... then save and publish.

    Close the editor.
    Then, still in the classic mode, go back to the form editor, editable grid properties, and reselect "related records only" and choose the correct table and view you wanted to use.

     

    This worked for me.

  • blaisecorneloup Profile Picture
    73 on 20 Jan 2022 at 15:29:11
    Re: Subgrid not showing related records

    Hi,

     

    Ok I understand. I removed the lookup column and recreated the relation, but still the same issue, nothing appears.

  • Bipin D365 Profile Picture
    971 on 20 Jan 2022 at 03:22:32
    Re: Subgrid not showing related records

    Hi @blaisecorneloup ,

     

    You don't need to create the lookup field on 1st table, it should be created in 2nd table.

     

    Thanks,

    Bipin

  • a33ik Profile Picture
    3,304 Most Valuable Professional on 19 Jan 2022 at 15:38:19
    Re: Subgrid not showing related records

    @blaisecorneloup I believe there is some kind of misunderstanding. When 1:N/N:1 relationship is created lookup that points to the parent entity is automatically created in the child entity.

  • blaisecorneloup Profile Picture
    73 on 19 Jan 2022 at 15:17:35
    Re: Subgrid not showing related records

    Hi @bipinshan ,

     

    I created a lookup column because dataverse didn't create it...

  • Bipin D365 Profile Picture
    971 on 19 Jan 2022 at 14:58:57
    Re: Subgrid not showing related records

    Hi @blaisecorneloup ,

     

    Why have you added lookup column on 1st table?

     

    You don't need to add lookup column because when you add 1:N relationship between two table, platform automatically creates a lookup field n related entity.

     

    https://docs.microsoft.com/en-us/powerapps/maker/data-platform/create-edit-1n-relationships-portal#create-relationships


    Regards,

    Bipin Kumar
    Follow my Blog: https://xrmdynamicscrm.wordpress.com/

    Kudos and Accept my answer if helpful!

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 936 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 375 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 330 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Loading started