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 / Modelling complex rela...
Power Apps
Unanswered

Modelling complex relationships

(0) ShareShare
ReportReport
Posted on by 6

Hello wonderful people!

 

Question: How do i approach the following relationships: Teacher <-> Grade <-> Subject
Multiple teachers can have multiple grades of students, with each different or same subjects. 

 

Example: Mr. Teacher has the 7th grade in math and physics and the 8th grade in physics and latin. The 7th grade does not have latin at all, and they have math with a different teacher.

 

 

Dream scenario would be something like "cascading subchoices". I create a new entry in the "teacher" table, add the 7th. and 8th. grades, which then gives me the available subjects within each grade to choose from.

 

Thank you for your expertise, i appreciate it a lot!

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @lucashunold I would model your scenario as:

     

    1. Standalone table for Grade

    2. Standalone table for Teacher

    3. Standalone table for Subject

    4. Grade Subject intersect table which has a Many-To-One relationship to Grade and a Many-To-One relationship to Subject. The purpose of this structure would be to model which Subjects are applicable for each Grade

    5. Teacher Assignment intersect table which has a Many-to-One relationship to Teacher, a Many-to-One relationship to Grade and a Many-to-One relationship to Subject. This structure is your main 'transactional' table which records which Teacher is assigned which Grade for each Subject.

     

    If building a Model Driven App, you can configure your UI elements (navigation, forms, lookup controls, etc) to improve usability using things like filtered lookups, subgrids etc

  • lucashunold Profile Picture
    6 on at

    This would be m:n relationships, right? As Dataverse automatically creates the transactional tables, as far as my understanding goes.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard