Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

How to import into lookup field using alternate key?

(0) ShareShare
ReportReport
Posted on by 30

I'm trying to import excel files into pet table.  The pet table contains a pet_owner field. GUID is hard to retrieve, I don't want to use GUID, I want to use alternate keys. Can I use Web API style addressing method to uniquely identity a pet_owner, perhaps looks like pet_owners(external_id='U001') ?

 
 

25-excel-with-guid

 

I have tried but failed, the error message is 'The lookup reference could not be resolved.'

failed-message.jpg

 

 

Background:

I have two tables: pet_owner and pet. Pet table has a pet_ownerid field.

Pet table has an alternate key with only one column: external_id.

Pet_owner table has an alternate key with only one column: external_id.

 

 

 

Categories:
  • Verified answer
    michael-w Profile Picture
    30 on at
    Re: How to import into lookup field using alternate key?

    Thanks @dpoggemann . I have found the solution. While import, click Review Mapping button, click  the "magnifying glass" icon,will open Lookup reference section, change to external_id.

     

    Refer this link https://docs.microsoft.com/en-us/powerapps/user/import-data

    michael-w_0-1615951348935.png

     

  • Kundan Sah Profile Picture
    45 on at
    Re: How to import into lookup field using alternate key?

    Hi, 

    Excel upload will always match with primary name field. please use name instead of guid

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: How to import into lookup field using alternate key?

    Hi @michael-w,

     

    Please walk through the following doc as it outlines how to import the data with the alternate key...

    https://docs.microsoft.com/en-us/powerapps/user/import-data

     

    Hope this helps!

     

    Thanks,

    Drew

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics