Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Solved! Go to 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.
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.
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.
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.
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.
They are like left outer joins by default. When writing a SQL query you have to define joins, in DAX the joins are implicit
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:
please see this article that goes into this in some detail
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):
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |