Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Creating New Entities in a Child Entity - leverage Relations

What I'm trying to do is two key concepts (that are trivial in DB) consider there are two tables A and B, where table B has a relationship to table A (entity relationship in power apps)


Now Scenario 1 - add New entries in Table and make sure the proper key relationship is maintained back to table A.  So say you have a Person and you want to add a new skill for that person.   So I go about creating a new form for adding skills, pass it the person ID and they try to get the form to auto fill in the linking person ID.  Power app doesn't like that one bit.  I have a formula to fill in this value BUT since it's defined as a lookup the system save the value in the backend db when the form is submitted.


Any ideas?


Second I want on a single form to show a person summary AND the skills they have.  So when you choose different people this should retrive all the skills they have.   So I go about creating one collection to show a single persons information, (via filter on Dropdownlist), then use a second filter with the "in" condition to find all records in table B that have primary key IN Table A PersonID...



Regular Visitor

I managed to make some progress but only by deploying a work around that was to basically ignore the entity relationship by creating a new column that is an integer, and then use a formula to populate the column (in Table B) with the Primary ID integer from Table A. 

This must be a WTF on my end becuase it completely defeats the purpose of having relationships that help referential integrity



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,934)