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 all relative r...
Power Apps
Unanswered

Display all relative records based on selection

(0) ShareShare
ReportReport
Posted on by 347

Hi, how do I display all relative records based on selection.

eg. if a "name" or "tag number" is selected, the app will show a log & history of every data entry associated.

These are linked with one to many in dataverse 

Categories:
I have the same question (0)
  • WiZey Profile Picture
    3,023 Moderator on at

    Hello @KT61 ,

     

    To display a list of elements, you can use a gallery.

     

    Then you populate this gallery with a "Filter()" to select only the elements related to your selections.

     

    https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-gallery

    https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup

     

    If you need more help, we'll be happy to assist.

  • KT61 Profile Picture
    347 on at

    Thanks, is there anyway to do this with a Datatable instead of a gallery?

  • WiZey Profile Picture
    3,023 Moderator on at

    Sure, but a gallery offers more flexibility than a datatable.

     

    With a gallery, you can insert labels, dropdowns, inputs, change them to suit your style, more galleries... 

     

    A datatable is kind of limited to lines and rows.

  • KT61 Profile Picture
    347 on at

    @WiZey thanks, will use the gallery. Can I get a galley to display another gallery with data entry associated of "Title" or "subtitle" etc in the first gallery.

  • WiZey Profile Picture
    3,023 Moderator on at

    A gallery is used to display a list of elements. 

     

    "Title" is a single column from the list, so you'd better use a label to display its value.

     

    However, if your list contains a list, then a nested gallery would be appropriate in order to display the sub-items of an item. Do note that you can only nest up to 3 galleries.

     

    But maybe I didn't understood well your situation, could you elaborate further what you mean by "display another gallery with data entry" so I can try and help ?

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 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard