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

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

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 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard