Forum Discussion
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
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.
10 Replies
- DekuSuper 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
- AnonymousNot 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 TeamIf this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
- AnonymousNot 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.- AnonymousNot 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.