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 / Creating an associate ...
Power Apps
Answered

Creating an associate table in power apps

(1) ShareShare
ReportReport
Posted on by 14

Hi Everyone,

I am trying to create an "association table" in dataverse 

The premis goes like this 

I have two seperate tables. one for users (given a unique user ID) and another one for exams (given an exam ID)

Now i need another table to link the users to the exams that they have earned please see example below:

matt_dek_0-1720587873747.png

I am not too sure how I would go about it as the user ID and exam ID will have to be repeated as a person can have multiple exams and an exam can be written by multiple people

Thank you in advance!



I have the same question (0)
  • Shashank Bhide Profile Picture
    942 Moderator on at

    In Dataverse you can have a N:N relationship established between exam and user tables.

     

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-nn-relationships-portal

     

  • Verified answer
    AllanDeCastro Profile Picture
    412 Most Valuable Professional on at

    Hello

    You will have to create a N:N manual between these two tables:

    Creating an association table (also known as a junction table or linking table) is a common practice in database design to handle many-to-many relationships. In your case, you need a table that links users to exams. Here’s a step-by-step guide to accomplish this in Dataverse:

    1. Define User Table: This table will store user details.

      • User Table Columns:
        • UserID (Primary Key)
        • UserName
        • Email
        • etc.
    2. Define Exam Table: This table will store exam details.

      • Exam Table Columns:
        • ExamID (Primary Key)
        • ExamName
        • Date
        • etc.
    3. Create Association Table: This table will link users to exams.

      • Association Table Columns:
        • AssociationID (Primary Key)
        • UserID (Foreign Key referencing UserID in User Table)
        • ExamID (Foreign Key referencing ExamID in Exam Table)
        • EarnedDate (Optional, if you want to record when the user earned the exam)

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard