Skip to main content

Power BI

New

Advanced Query Relationships

Vote (39) Share
Benjamin's profile image

Benjamin on 09 Jan 2016 18:11:45

Sometimes a relationship between data sets needs to be more than just an inner join. It would be great to have an advanced editor for relationships where you can define the relationship as you would a JOIN condition in SQL. Inner, left, right joins multiple joins, and even other operators besides just "=" (like , <>, etc).

Comments (3)
Benjamin's profile image Profile Picture

59c7f6f1 3f87-456f-8192-84eb8c43f6ad on 05 Jul 2020 23:49:57

RE: Advanced Query Relationships

This would be very important improvement for us, Merge function in Query editor may be hard to use for user. We would like to have option to change the relationships between tables at the level of data model imported from SQL server

Benjamin's profile image Profile Picture

80ac9791 0598-4fc5-ace0-f574ca717e81 on 05 Jul 2020 23:22:10

RE: Advanced Query Relationships

The joins with other operators than "=" will be very helpful...

Benjamin's profile image Profile Picture

666c26a5 254f-426b-a2f7-865a279fc755 on 05 Jul 2020 22:32:38

RE: Advanced Query Relationships

It's not a complete solution, but there some advanced Join options when you use the Merge function in Query Editor... You can do inner/outer, left/right/full and anti joins. We don't support multi-joins, but you can create bridging tables and use those. We don't support other operators than "=", but we don't hear many requests for it so until this gets lots of votes we probably won't be able to prioritize that work. Hope that helps!