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 / Filtering a view in mo...
Power Apps
Unanswered

Filtering a view in model driven apps

(0) ShareShare
ReportReport
Posted on by 8

Hi there, 

I have an subgrid like below : 

boris2_0-1715098027495.png

This is on a form and as you are going across the tabs and you save it up - you get a row added with a project name. 

This subgrid is based on another table but there is a relationship between Project Issues (on the subgrid) and the project table - i need the subgrid to show the project issues but filtered on the project name. 

 

boris2_1-1715098205570.png

This is the filter i have on the subgrid view - i want it to show Project ID but that has to be from the record you are viewing on the app. 

 

I know its basic but I cannot seem to figure it out. 

 

Thanks a lot. 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @boris2 ,

     

    The setting you are looking for is not in the view, but on the subgrid component:

    BCBuizer_0-1715107794654.png

     

    If you edit the form and select the subgrid, you'll have to option to enable the Show related records setting which will only show the related risks to the selected row. 

  • boris2 Profile Picture
    8 on at

    @BCBuizer - hi thats great and i seen this but this means that the record needs to be saved prior - which makes sense - becasue the grid doesnt show if there isnt any records - thats what i have noticed. 

    So how do i create a row then so it displays and i can add a row in ? So what i am triyng to say is that there has to be row in the grid for it to be shown if i click that button ? But i want to use a grid to create a record and its not shown if there isnt anything in the table ? 

  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @boris2 ,

     

    I'm not sure what it is you are asking, so let me try to explain how this works based of the example I gave earlier:

     

    There are two tables: MaintenanceLogs and Locations. The MaintenanceLogs table has a LookUp column to the Locations table. When rows get created in the MaintenanceLogs table, the user selects a possible value in the Location column. When viewing the above form for the Locations table, the subgrid will show all related MaintenanceLogs rows for the selected Location row. If no rows exist in the MaintenanceLogs table that are related to the selected row in the Location tabel, the subgrid will appear empty. If the user wants, there is the option to create a row in the MaintenanceLogs table, related to the selected row in the Locations table, by clicking the New Maintenance log button on the subgrid:

     

    BCBuizer_1-1715112219959.png

     

     

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

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard