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 / How to import into loo...
Power Apps
Answered

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.

 

 

 

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    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

  • Kundan Sah Profile Picture
    45 on at

    Hi, 

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

  • Verified answer
    michael-w Profile Picture
    30 on at

    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

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard