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 / Migrating data of Look...
Power Apps
Suggested Answer

Migrating data of LookUp colum between environments

(1) ShareShare
ReportReport
Posted on by
 
Hello, I am now migrating data from one environment to another using data flows (connector as Dataverse). But, I am facing with some issues in migrating lookup column (which is used as foreign key column in child table). I have also created the alternate key and mapped to the unique column name. However, the column appears as null.
 
 
 
 
 
 
Plus, I could not create an alternate key for the primary key in the parent table. Why? How should I solve this problem to populate data in that lookup column. In this, tbl_FundRequests is the lookup column as well as foreign key in the child table, the key which is from the parent table.
 
Thanks.
 
I have the same question (0)
  • MichaelFP Profile Picture
    1,991 Moderator on at
    You will do this migration one time only? If it is i would recommend to to use Configuration Migration Utility, it is more simple and easy to copy data.
     
  • Ram Prakash Duraisamy Profile Picture
    5,775 Super User 2026 Season 1 on at
    Hi ,
     
    In Simple Way,, if the data is less please goahead with Data Import using Excel Operation
     
     
  • Thinzar Profile Picture
    on at
     
    Thanks for the suggestions.
     
    Is there any way can I use Dataflows to populate the Lookup column correctly?
    Because, it is way more convenient for us to use Dataflows since it allows manual sync by using Refresh.
     
     
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at
    @thinzar I would suggest reviewing the status of the Dataflows and refresh history. There might be some evidence of failed refreshes with potentially some meaningful errors which you could use to troubleshoot
  • Suggested answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at
    For Dataflows:
    • You need to define an Alternate Key for each Lookup table (i.e. an Alt Key defined on each Parent table [the table with the actual lookup field defined on it is the child])
    • With an Alt Key on the table being Looked up the field becomes available to the Dataflow, and you can map your value to it.
    Unfortunately with Dataflows:
    • Without an Alternate Key you won't be able to map source data to the Lookup field
    • You cannot use the existing Primary Key column (note: the actual Primary Key is not the "Primary Name" column, it is an auto generated GUID that this held in a field with the same schema name as the Table but with an 'id' suffix e.g. for a Table called "new_table" the primary key is in a column called "new_tableid").
    This video runs through the basic steps: https://www.youtube.com/watch?v=m24yu-dwK8Q
     
    As already mentioned by previous posters, if it is a one time import then doing an out of the box data import or using the Configuration Management Tool may be an easier option as both of them do not require a Alt Key to be defined.
     
     
     
     
     
     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard