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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup Column other th...
Power Apps
Unanswered

Lookup Column other than Primary column in Dataverse

(0) ShareShare
ReportReport
Posted on by 54

I have a scenario where I want to have a lookup column to be created in Dataverse Table 2 looking up to Table 1 other than a primary column. Is this possible? If so, I want each and every possibilities to analyze.

Example:

Dataversetable1 - EmpName(PK), EmpCode, PhoneNumber, Address

Dataversetable2-  ProjectName(PK), EmpName(Lookup), EmpCode(LookUp), ProjectCode

 

From above example I need the ways how I can create lookup EmpCode in second table.

I have the same question (0)
  • 365-Assist Profile Picture
    2,324 Moderator on at

    What functionality are you trying to achieve?

     

    If you are trying to do this in a Model Driven App then I can't see how. As Dataverse relationships need the ID column to be used for the lookup column.

    You could however create a Custom Page or Canvas App and use Galleries or Collections to do the lookup.

     

    If you are just using it reports then you could create a Power Query in Power BI or Excel.

     

    ---------------------------------------------------
    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

  • Kavya1 Profile Picture
    54 on at

    I am trying to achieve this in Model Driven app. 

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Kavya1 

    Is code a separate table? or it is just a text field on the employee table?

     

    If it is a field you do not need another lookup , if you wanna to display the employee code on the project form you can use a quick view to achieve this.

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-edit-quick-view-forms

     

     

     

  • Kavya1 Profile Picture
    54 on at

    Thanks @Mira_Ghaly . Will try it out.

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard