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 a 1:1 relatio...
Power Apps
Suggested Answer

Creating a 1:1 relationship in Dataverse

(0) ShareShare
ReportReport
Posted on by 52
I have a table containing 40 questions and would like to distribute them into 3 separate tables.
All users need to answer Q1-18. Q19 is a choice column type, if a user selects Choice A, they should be presented with Questions 20-29, if they select Choice B, they should receive Questions 30-40. 
Could you kindly guide me on how to achieve this using a custom model-driven app?
I have the same question (0)
  • Suggested answer
    ankit_singhal Profile Picture
    618 Moderator on at
    You can use customer survey and apply the expression for hide/show the questions. When any user submit the customer survey then response will be save in dataverse automatically.
     
    If you want this in model driven, then create a form and created columns for your question answer. you can write the business rule for JavaScript for hide/show the column. It will trigger on the change of column value. 
     
     
    Note: Please Mark Verified, if it is useful for you. 
  • LA-30040116-0 Profile Picture
    52 on at
    Thank you for your response!
    I’d prefer to use a custom Model-Driven App with a 1:1 relationship, if possible.
    I’ve just updated the post to clarify my question.
  • Suggested answer
    Vahid Samimi Profile Picture
    60 on at
    1. create 3 tables
    Main Table: Stores Q1-18 and Q19 (choice column).
    Table A: Stores Q20-29 (for users selecting Choice A).
    Table B: Stores Q30-40 (for users selecting Choice B).
    2. then Add a lookup column in the Main Table pointing to Table A.
    Add a lookup column in the Main Table pointing to Table B.
    Ensure each record in the Main Table has only one corresponding record in either Table A or Table B.
    3.use business rule:
    When a user selects Choice A, create a record in Table A and link it to the Main Table.
    When a user selects Choice B, create a record in Table B and link it to the Main Table.
    Hide/show related questions dynamically based on the selection.
  • LA-30040116-0 Profile Picture
    52 on at
    I appreciate you taking the time to reply to my query.
    Would you mind sharing more details on how to create a record using the business rule.
     
    3.use business rule:
    When a user selects Choice A, create a record in Table A and link it to the Main Table.
    When a user selects Choice B, create a record in Table B and link it to the Main Table.
    Hide/show related questions dynamically based on the selection.
  • Vahid Samimi Profile Picture
    60 on at
    Sorry for the misunderstanding. You can use a business rule just for hiding and showing, or set a value based on the existing value. But if you would like to create a record dynamically, you have to use Power Automate  or a Classic workflow
  • LA-30040116-0 Profile Picture
    52 on at
    @Vahid Samimi 
    I value your input—thanks!

    Using PA, I think there will be a delay and might need refreshing the form could affect the user experience.
    I'm really interested in the classic workflow approach—would you mind showing me in detail on how to create a record in the lookup table (Q20-29 or Q30-40), link it to the main table, and also prevent record duplication?

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 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard