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 / Filter Subgrid With Field
Power Apps
Answered

Filter Subgrid With Field

(0) ShareShare
ReportReport
Posted on by 37

Hi all,

 

It is possible to make a subgrid that filtered with a field in the form? For example, I want the subgrid to show data from the project that the user chooses. in this case, the subgrid and the form have a same entity.

 

tirrr_0-1596781465075.png

 

thanks all!

 

I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    Hi @tirrr 

    what do you mean by the Subgrid and form have the same entity? Do you mean you are creating a self reference relation?

    If yes then on your subgrid properties

     

    Please set this to only related records

    Mira_Ghaly_0-1596782948349.png

     

    If this post helps you with your problem, please mark your as Accepted solution.

    If you like my response, please give it a Thumbs Up.

    MG (Naturally Curious)

     

     

  • tirrr Profile Picture
    37 on at

    Thanks for the answer! Sorry for my bad explanation. let say there is entity A. in the entity A form there are subgrid show the entity A records. I want to make the subgrid will filter by the field in the entity A (for example project). If the user chooses project X, the subgrid will show records with the field project filled with project X. maybe this explanation will make you more understand. 

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @tirrr 

    Can you try to Filter by the project field on Only Related Records and choose the project field.

    Let me know if this works!

     

    If this post helps you with your problem, please mark your as Accepted solution.

    If you like my response, please give it a Thumbs Up.

    MG (Naturally Curious)

  • tirrr Profile Picture
    37 on at

    There is no option for project in On Related Record. 

    tirrr_0-1596787145521.png

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @tirrr 

    Is there any relation between the form Entity and the Grid Entity , there must be a relation so that you can apply only related records with the parent.

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @tirrr ,

    Regarding the needs that you mentioned, I think you have some misunderstanding with the usage of the Sub Grid in Entity Form.

     

    The Sub Gird mainly is used to display related records from other Entity corresponded to current Main Entity record through the "One-to-Many" relationship.

     

    Based on the issue that you mentioned, I guess that you do not display related Entity records within the Sub Grid, instead, you display current Entity records in this Sub Grid component, right?

     

    If you display your current Entity records in this Sub Grid, and want to filter the record based on the column value (e.g. Project) in the Entity form, I afraid that there is no direct way to achieve your needs.

     

    Currently, within the "Sub Grid" component, you could not specify filter condition based on the fields within the Entity this "Sub Grid" component connected to.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    Regards,

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard