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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
morani
Helper I
Helper I

basic question regarding Power BI Relationship (compared to join in SQL)

HI,

 

Coming from the SQL world, I have a question regarding "relationship", is it like "join" in SQL? If it is, what would be the equivalent in "relationship" to inner join/ outer join?

 

Thanks

1 ACCEPTED SOLUTION

No, in the model view on the basic left outer is a possibility.

The best way to join tables is always by leveraging physical relationships in the data model, because it results in simpler and faster DAX code. While there are other techniques using DAX, these techniques are more expensive from a performance point of view and also result in a more complex DAX code.

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Hi @morani,

Thanks for reaching out to the Microsoft fabric community forum.

It seems you want to clarify whether relationship in PowerBi Models are same as JOINS in SQL. As @andrewsommer and @Deku both responded to your query, please go through their responses and check if it answers your query.

 

I would also take a moment to thank @andrewsommer and @Deku, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

Anonymous
Not applicable

Hi @morani,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

Anonymous
Not applicable

Hi @morani,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.


Thank you.

Anonymous
Not applicable

Hi @morani,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Deku
Super User
Super User

They are like left outer joins by default. When writing a SQL query you have to define joins, in DAX the joins are implicit


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Thanks, can you please let me know what would be the cardinality and cross filter direction to create the following:

1. Inner join

2. Left join

3. Right join

4. Full outer join

 

For example I have the following case:

morani_0-1741383899872.png

 

 

please see this article that goes into this in some detail

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Thank you, but is there a way to create the different types of join in the model view and not on DAX?

No, in the model view on the basic left outer is a possibility.

The best way to join tables is always by leveraging physical relationships in the data model, because it results in simpler and faster DAX code. While there are other techniques using DAX, these techniques are more expensive from a performance point of view and also result in a more complex DAX code.

Exactly, I would like to use physical relationships in the data model to create the following joins:

create the following:

1. Inner join

2. Left join

3. Right join

4. Full outer join

 

What do I need to specify under cardinality and cross-filter direction to create each one of the joins above (1-4):

morani_0-1741446734974.png

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.