Showing results for 
Search instead for 
Did you mean: 

Look up column from another table in Dataverse.

Hi there!


I tried to study about the lookup column function in dataverse but I didn't really understand.


Here is my situation:

1. I have a table named "Stock In Latest", in this table I have a calculated column name "Quantity Stock In".



2. I want to make the calculated column named "Quantity In" to be store in another table which is "E-Stock".



I already create a relationship between this 2 tables. And in "E-Stock" table, I created a lookup column name "Quantity In" and the related table that I choose is "Stock In". 


Then, when I check in the "Quantity In" in E-Stock table, the value for the lookup column is the Part Number. It is should be the "Quantity Stock In" right?



Can someone help me on this, already try to configure almost 3 days.



Hi, it's a little hard for me to understand your problem, can you describe it using only business requirements without any technical names? Could you also draw the desired data structure?
Anyway, I have some insights, which may be helpful for you:
1. If you create a Lookup field that points to another record, the system will always show you the main value of this record, which usually is its name. For example, in the Account table, we have a lookup field "Main Contact" which points to the record of type Contact. In the view of the Accounts, in column "Main Contact" we see the first and the last names of the selected main contact of the Account because the main field of the Contact is the column "Full Name".
2. However, on the view we can add foreign columns of related records. For instance - I can add to my Account's view an additional column "Phone number" from the related Contact record. This value will be shown only if the lookup field "Main Contact" is filled with a Contact record that has its phone number.
Please note, you must use the "View editor" feature to add the foreign column. It looks like it is not possible to do this on the table editor you showed on the screenshot. 
Super User
Super User

@Az8PnG To understand how this works, let’s use a basic Form in a Canvas App as an example. 


Suppose we have a Table with a list of Issues, and another Table with a list of associated Actions. The Primary Name column in the Issues Table is "Record ID".


In the Actions table, we create a Lookup column associated to the Record ID column in the Issues Table. We will call the Lookup column “Related Issue” (a one-to-many relationship).


1. We create an auto generated three screen app based on the Dataverse Actions Table.



2. We add the Lookup field into the Edit Screen of the Form if it not there already. You will notice Power Apps will automatically create a Combo Box control for the Data Card Value.

3. Note the Choices expression used in the Items property of the Data Card Value, it is using our relationship Lookup column ("Related Issue").




4. If you select Edit on the Combo Box properties pane on Fields, you will notice you can select any related field from the Issues table.




5. Suppose we want to include a Single Line Text column from the Issues table. Add a custom card and include a Label control inside it.




6. In the Text property of the Label control, enter ThisItem.'Your Lookup Column Name' followed by a period/full stop.





7. At the period sign, notice you can now select any column from the related Issues table

8. Final result:



If you're using Model Driven Apps, you can achieve similar functionality using the Related tab or via Views such as the Quick View Form. 


In summary then, so long as you have defined a relationship between your two tables (such as a one-to-many relationship), you will be able to return any associated column from that relationship in your App.


I hope this helps.




If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

If you like my response, please give it a Thumbs Up.

Imran-Ami Khan



If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

If you like my response, please give it a Thumbs Up.

Imran-Ami Khan

Multi Super User
Multi Super User

A Lookup field sits on the Child (many) record in a one-to-many relationship and is populated with the parent (one) record - the Lookup relationship is the 'linkage' between the records.  The Lookup field (or more specifically its relationship) is also what is called a Foreign Key.


e.g. an Invoice has many Invoice Product items (and each Invoice Product can only be for one Invoice), this is a one-to-many relationship.  The Invoice Product record has a Lookup to the Invoice.

Hi @Fubar @Amik @MarioRing Thank u for replying me.

My question is, is it the lookup field will only display the value of the primary column in the parent table?


In my case:

1. My parent table is "E-Stock".

2. My child table is "Stock In Latest".

3. I want to lookup the column from the "Stock In Latest" and store in my parent table which is "E-Stock".

4. When I do the lookup, I see that the "E-Stock" lookup column displays the value of the primary column in "Stock In Latest" (as shown in picture above).


So, is there any solution or formula that I need to change in order to make the lookup column display the value from other column?

Multi Super User
Multi Super User

Lookup will is restricted to the Primary Name column, closest you would get is to edit the control properties and I believe you can set it to show 2 lines when the user is selecting.


Also note, lookups only save the internal guid not the display name (e.g. if you change the name in the source, the next time your user looks at the lookup field it will show the updated name, the guid will remain the same), if you need to save additional values you will need to copy them from the record the lookup links to

Are you thinking about the subgrids? This is a list of all records connected to the chosen one by lookups. For instance - There is a "City" table with a lookup field "Country" to choose the proper location. Of course, one City can be in one country only, but each Country may have any number of Cities. In that case, you can put a subgrid on the Country form, to see all the Cities which have this Country set in the lookup.


Please note there is no 1:1 relationship in Dataverse. It is not recommended to use that kind of connection - in most cases, the best solution is to merge two records into one. However, you can create on Table A lookup to Table B, and on Table B lookup to Table A, but both relationships will be independent. That means you must manually assign both sides or make some automation that does this for you. It is risky because you may lose data integrity when A->B and B->C.

@Az8PnG the explanation I provided was in the context of interfacing with the table via a Canvas App or Model Driven App. If create an App (either Canvas or a Model Driven), you can get the columns you need.



If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

If you like my response, please give it a Thumbs Up.

Imran-Ami Khan

Helpful resources


Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Summer of Solutions | Week 3 Results | Win free tickets to the Power Platform Conference

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27  

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (3,366)