Re: Importing hierachicly related data into dataverse
Hi @a_debiec ,
There are a number of approaches to do this from data flows, API, etc. but I find the easiest is Excel Import using the Data Mapping Templates.
You would want to import all of the records first as "new" records using the Data Import Template for that table and then export all the records and set the Lookup field for the Parent to the Primary Name field of the Parent record.

Note, you can not have duplicates in this Primary Name field or it will fail on those records as it will not know which to match.
Data flows is another option here as well but this has been the simplest for me in the past.
Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew