Announcements
Hi PowerApps Community,
I need to build a Dataflow to load 2 Excel files into Dataverse.
However, when I ran the dataflow, I got the error: A record with the specified key values does not exist in AA entity. How can I build the dataflow to insert Table A before Table B without hitting the above error?
--
Thank you
Hello, @JLKM, I am familiar with this error, you need to make sure that all the foreign keys in your Child Table (BB) already exist in the the Parent Table (AA). Thus, make sure to Load the Data into the Parent Table first (AA).
Here is a full TUTORIAL for the Excel to Dataverse Migration which is very similar to your use case.
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.
I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.
Visit my Blog: www.powerplatformplace.com
Hi @AhmedSalih
Thank you for your tips.
But is there a way to do this with just a single dataflow and somehow configure the sequence of inserting the tables?
@JLKM, DataFlows can extract data from multiple tables in the same data source but only feed the result into one Table at a time.
Check this for more info: https://learn.microsoft.com/en-us/power-query/dataflows/add-data-power-query
Hi Ahmed,
This is a very valuable comment, I was struggling to follow the steps explained in this video Populating LookUp Columns in Dataverse Dataflows (youtube.com) which results exactly with "A record with the specified key values does not exist"
The way you explained this limitation suggest that there was no chance the solution explained in video could work?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 936
Valantis 604
11manish 518