Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Related, Relatedtable, Lookupvale

Hello,

 

i got a short question:

i was trying to build up a relationship between 2 sheets. Since it doesn't work automatically i thought about building a relation via lookup() formula or related() or relatedtable(). but afterall i was stucked, since it doesn't make a relation. what must i do...maybe somebody can help me.

 

 

Sheet 1.PNGSheet 2.PNG

 

 

Sheet 2.PNG

 

 

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

>> since it doesn't make a relation.

Could you please share the error message for further analysis?

In order to create a relationship in a data model in Power BI, at least one side of the relationship must be tied to a column that is unique in the table. Please verify a column in one side is unique. There is no many to many relation in Power BI model.

In the Power BI data model, you can create relationship by clicking “Manage Relationship” , you will get the following screenshot. Or you can create the relationship in Diagram view as the KHorseman’s posted, you just use the Drag to Zoom control, and select a column and drag to the another column that you want to prefer in another table. More details about creating relationship, please review this article.

 
1.jpg

If you have any question, please feel free to ask.


Best Regards,
Angelia

Anonymous
Not applicable

Relationships are built in the relationship editor. This thing here:

 

Relationships.PNG

 

Those formulas make use of existing relationships. They don't create them.

 

...

 

Well, lookupvalue actually doesn't require or use relationships. It just looks up columns conditionally based on other columns. In any case, it still doesn't create relationships.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.