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 / Show records from a co...
Power Apps
Answered

Show records from a common table

(0) ShareShare
ReportReport
Posted on by 4

Good day,

I have a current setup in Dataverse for my model driven with the below logic:

Tables:

  1. Requests
    • Relationships: One to Many for Tasks | One to Many for Documents
  2. Tasks
    • Relationships: Many to One for Requests | One to Many for Documents
    • Every task will have to be linked to a parent request
  3. Documents
    • Relationships: Many to one for Requests
      • Every document MUST linked to a request
    • Relationships: Many to one for Tasks
      • Every document must be linked to a task but not mandatory to be linked to a request

 

In my model driven app on the Tasks form, I have a tab to show a subgrid of all documents related to that task

I would like to also add another subgrid to show all documents related to the parent request of the task

I'm not sure how this could be done - perhaps creating some sort of relationship to enable it? 

Any help would be truly appreciated

 

 

 

Table Relationships:

Nadz842_1-1668498964713.png

 

Screenshot of my model driven app - Task Form with tabs

Nadz842_0-1668498622411.png

 

 Thanks

I have the same question (0)
  • Verified answer
    João Santos Profile Picture
    323 on at

    Hi @Nadz842 

    There's two ways I can think of you might be able to do this.

    Quick view form, just create a quick view form of the Request entity that includes a subgrid of its documents. Then add that quick view form to the Tasks Form.

     

    The other way is not really supported by Microsoft, but sometimes people prefer it over the quick view solution. It's a way to use javascript to add a custom FetchXml Filter to a subgrid. Have a look at this link, it should tell you how it can be done: https://medium.com/@meelamri23/dynamically-set-fetchxml-to-subgrid-on-dynamics-365-v9-uci-a4a531200e73

     

  • Nadz842 Profile Picture
    4 on at

    Thank you so much - the first approach worked like a charm and with minimal effort

    You have no idea how valuable your help was - it will save over a hundred employees over 30 minutes per day each in addition to a lot of frustration 😃

    Bless you my friend

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

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard