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 / Viewing related data i...
Power Apps
Unanswered

Viewing related data in a custom table (MS Forms data) and Account table

(0) ShareShare
ReportReport
Posted on by 158

Hello all, I am trying to sort through the best approach to view related data with the following.

  1. I created a dataverse table to store form data, unique ID is Response ID
  2. I have a flow that loads form data to the table
  3. The flow also creates a new customer and adds Response ID to the account table.

What next? I am not sure how to set up this up. I want to add a tab so the user can see the MS forms results (45 questions) related to the account. Is merging the data in Power Query the way to go or creating relationships? It's one:one relationship, one survey for each account.

 

Thanks for any help, 

 

I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    If your MS Forms response will only ever be a 1:1 relationship with Account, you could add a column to the Account entity that contains the ResponseID of the form. Then, whenever you need to access the responses for that Account record, you can do a LookUp() to the Response table using that ResponseID. No Power Query needed here, just revise your flow to find and associate the response with the correct Account too.

     

    Does that make sense?

    Bryan

  • rixmcx59 Profile Picture
    158 on at

    Yes, it will always be 1:1. I have already added the responseID to the Account table. Are you saying Add a Lookup column from account to survey or have a flow look up the responseID value and populate a powerapps form?

     

    Thanks for the reply

  • BCLS776 Profile Picture
    8,994 Moderator on at

    In my mind, I don't think a Lookup column is the best answer for 1:1 relationships. Dataverse treats it as a 1:M relationship anyway and then you have to remember you're seeking a record, not a table of records. The responseID column in the Account table handles it adequately. A LookUp() will return the matching record in whichever direction you query.

     

    For your flow that populates the response table, that seems like a good point at which to store the responseID in the Account table. Is there something in the form you can use to identify the correct Account record to update? Perhaps the Account's name or something else relatively unique? That can be the basis for a List Rows action to find the correct Account record.

     

    Bryan

  • rixmcx59 Profile Picture
    158 on at

    Thanks for the help, I ended up just adding the survey columns from the MS Form to the accounts table, so now when a form is submitted, a new account is created (by the PA flow). I added a new tab to the main form to view the survey results. this may not be the right way, but it accomplished exactly what I was looking for.

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 765 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 272

Last 30 days Overall leaderboard