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 Dataverse Relation...
Power Apps
Unanswered

How Dataverse Relationship works?

(0) ShareShare
ReportReport
Posted on by 48

I can't understand how relationships works in dataverse. I understand that a lookup or relations should work like in PowerBI on Excel with lookup/relationship functions, where  we would need to define which columns to match with. 

Can someome explain me how it works in dataverse? Are The relationships build using primary columns?

This mean that I cant only use one column (primary column) of my dataverse table to creat all relations with other tables?

Ex: I have a table with 5 columns and I would like to creat a relationship with each of these 5 columns with 5 different tables. Is possible to do that?

I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at

    I would recommend going through this tutorial in Microsoft Learn:

    https://learn.microsoft.com/en-us/training/modules/create-relationship-between-cds-entities/

    you have to define the columns as Lookups to auto-create the relationship. They are foreign keys, not primary. If you defined other type of columns, you’ll have to re-create as lookups.

  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    Hi @anacarolinagr 

     

    @Relationships are based on the GUID column, not the primary column. Although in the UI, it may look like it’s the text main column, due to how it’s presented when looking at a UI.

     

    For sample if you had a primary column of Text and you created a relationship. In the other table on the form or looking at that table in the designer you’d see the text of the main column not the guid. 

    You can also create Connections between tables which are simply relating them based on a Named connection you create. Like pretend you had a table called people. And in there you our Parents and kids. 

    You could create a self relationship. Or you could create a relationship between rows but using the function relate 

     

    to answer You cannot create standard lookup / relationships on anything other than that column. 

    you can create secondary++ keys which could be foreign keys to other tables. So you could then do filters/lookups etc easily to other tables. 

    So that is the answer. 


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

  • anacarolinagr Profile Picture
    48 on at

    @ivan_apps how can I define these columns as 'foreign keys' to use them as link to a relationship?

  • anacarolinagr Profile Picture
    48 on at

    Thanks @FLMike ! but how do I know which columns is the GUID?

  • anacarolinagr Profile Picture
    48 on at

    I still dont get it. If I add a LookUp column/ or a relationship between two tables, the connection between then will be throught the Column Name?

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 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard