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 / Dataverse One to Many ...
Power Apps
Answered

Dataverse One to Many Three Tables Based on JSON

(0) ShareShare
ReportReport
Posted on by 10

I want to build a Power App that allows users to create Interview Plans and Offer Plans for a Job.

 

In a relational database, I'd have three tables.

 

  • Job Definition
  • Interview Plans
  • Offer Plans

Job Definition would have a one-to-many relationship with the other tables

Job Definition 1:N Interview Plans

Job Definition 1:N Offer Plans

 

In a relational database, each row in Job Definition has a Job ID (unique value), therefore, I would create a foreign key Job Id in both the Interview Plans and Offer Plans tables.

 

However, I cannot figure out how to implement this in Dataverse as custom tables. I looked at Dataverse table relationships, but it creates something called a LookUp field. 

 

The workflow is

 

create a Job Definition record that has columns such as (w example values)

 
job_id        4947003
job_name  "Chief Designer"
job_location   "Irvine, CA"
client              "Perfect Purpouse"
status               "open"
 
Then create multiple records in Interview Plans and Offer Plans tables, and each record has the Job Id so can associate the Job Definition with Interviews Plans and Offer Plans.
 
Interview Plan records
 
          "job_id": 4947003,
          "name": "Hiring Manager Conversation",
          "position": 1,
          "duration": 30,
          "coordinated_by": "client",
          "description": "Meet & greet, general: culture/ team dynamics fit, DF opp/role fit, lite process",
 
          "job_id": 4947003,
          "name": "Portfolio Review and Behavioral Interview",
          "position": 2,
          "duration": 60,
          "coordinated_by": "client",
          "description": Discipline peer",
 
Offer Plan records 
         
          "job_id": 4947003,
          "name": "Client Offer Decision Date",
          "position": 1,
          "description": "Exact date client decides to move to offer stage.."
 
          "job_id": 4947003,
          "name": "Candidate Receives Client Offer Date",
          "position": 2,
          "description": "Extact date candidate actually receives the offer from client."
 
Any help would be greatly appreciated.
 
We first modeled this using attached JSON file.
I have the same question (0)
  • Verified answer
    gulshankhurana Profile Picture
    1,397 Moderator on at
    Hi
    First, please create the Job Definition custom table with the required fields.
    When the table is created, go to views and select the ‘lookup’ view to update and let the first two columns there be the 'Name' and 'Job ID' columns. Remove the ‘Created On’ column. Save and Publish.
     
    Now, Create the other two custom tables - 'Interview Plan' and 'Offer Plan’ and the columns needed for these tables. In these two tables, please also create an additional column called ‘Job Definition’ (Type: Lookup, and choose ‘Job Definition’ where it asks you to select a table for this column). Once you have pointed that lookup column to the ‘Job Definition’ the system will automatically create the 1:N relationship between Job Definition and Interview/Offer Plan. 
    You can then Open the 'Main' form for the Interview Plan and Offer Plan table; and add the required columns on the form along with the 'Job Definition' lookup column.
     
    You may find Shane Young’s following video useful:
     
    If you find this information useful then please accept it as a solution and give it a thumbs up.
     
    Kind regards
     
    Gulshan

    P.S. For the 'Hiring Manager' column, you could create a lookup column again pointing at the out-of-the-box 'User' table (if Hiring manager's name is listed under the 'User' table in Dataverse). And the Job ID could be the Auto-number column, if you prefer.

     

  • kevin-cto Profile Picture
    10 on at

    HI Gulshan,

     

    Thanks so much for the guidance.  

     

    It worked for me.

     

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