Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Help with subgrid and get data from there

(0) ShareShare
ReportReport
Posted on by

I'm asking for help from the community since I'm still a newbie.

I have 2 tables Courses and Students. They are related by the n:n relationship. Inside each form in the apps there is a subgrid that displays a list of students who are attending a course or a list of courses that a student is taking.

 

Task
I want information to be automatically recorded in certain columns on the number of courses that the student bought (so that in a separate Profit field I can simply add the price of each) and the number of students (in order to simply multiply the price of the course by the number of entries in a similar field)

 

Problem
I absolutely don’t understand how to pull data from the subgrid or how to access it at all. That is, conditionally, 4 students are enrolled in a separate course, how can I automatically get this count?
It is desirable that the solution to the problem be through Flow Automate.

I think it’s possible through JS libraries and somehow linking a subgrid and a column, but I don’t know at all about the libraries that are already built into Dynamics 365

  • Lucas001 Profile Picture
    2,212 Super User 2025 Season 1 on at
    Re: Help with subgrid and get data from there

    Hi @Kurosu_sama,

     

    you did post your question in the power pages forum, but it rather seems to be a customization of an MDA.

    Could you close this thread and repost your question here: https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1

     

    The community will be happy to help.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43