web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Suggested answer

Excel to Dataverse migration and lookup value

(0) ShareShare
ReportReport
Posted on by

Hello,

I have normalized data stored in Excel tables, and I want to migrate it into Dataverse tables with relationships. My primary keys in Excel are simple numbers (1, 2, 3, …). After uploading the tables to Dataverse, I change the key columns to Text and set them as primary keys.

However, when I try to convert the foreign key columns into Lookup columns to create relationships, I receive validation errors. I understand that this happens because my primary keys are of type Text, while Lookup columns require a different data type.

What would be the correct solution for this scenario?

Thank you in advance!

I have the same question (0)
  • Suggested answer
    venturemavenwill Profile Picture
    1,151 Super User 2025 Season 2 on at
    Excel to Dataverse migration and lookup value
    Assuming that your primary columns are text columns, always have unique values, you should be able to use a model driven app to first export a template, copy and paste the data from your original excel document, then reimport the data using the value of the primary key of the target table, and in the background the Model Driven App would create the connection.
     
     
    If you are still having trouble, you have the option to create an Alternate Key in your Dataverse table, as long as this is a text column that contains strictly unique values
     
     
    Let me know if this helps!. 
  • Ram Prakash Profile Picture
    5,537 Super User 2025 Season 2 on at
    Excel to Dataverse migration and lookup value
    Hi @DP-17110926-0

    In DV after you create each record it will Auto Generate GUID of each record.
     
    Can you help with how you are importing the record?
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 651 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 385 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 230 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics