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 / 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
    946 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard