Skip to main content

Power BI

Needs Votes

Add the ability for multiple relationships between table pairs

Vote (124) Share
's profile image

on 25 Nov 2015 01:19:49

Need the ability to create multiple relationships between table pairs. Example: Dynamics GP - SOP Sales Transactions and Sales Line Items have to be joined by SOP Type AND by SOP Number.

Comments (7)
's profile image Profile Picture

05174fbf 2db1-41be-a81c-d671421b04ef on 05 Jul 2020 23:05:28

RE: Add the ability for multiple relationships between table pairs

I've encountered numerous situations where this would have been needed as there are e.g. multiple roles between a transaction table and an entity table. This becomes specially crucial if the entity instances (e.g. Departments) are part of a hierarchy you need to be able to filter by using a higher level common nominator (e.g. Business Unit) and any of the related departments separately -- this an actual business case unsolvable by hierarchy model supported by Power BI :(

I've actually have had PowerBI disqualified by the end users due to this limitation in few occasions, simply making copies of the large and complex hierarchies to server few different roles isn't simply going to cut it, end users want to pick the hierarchy level from one simple selection.

's profile image Profile Picture

78005ca9 8cb5-4811-b42c-5fcb06fa7a79 on 05 Jul 2020 22:59:25

RE: Add the ability for multiple relationships between table pairs

I don't understand why this isn't already supported. Even Access allows joining on multiple primary keys.

's profile image Profile Picture

2f9db9c2 985f-4649-87e0-b51f652f8b4d on 05 Jul 2020 22:44:37

RE: Add the ability for multiple relationships between table pairs

Really guys this is a big shortcoming to let linger for like 2 years +. THere currently is no practical ways (other than writing & maintaining tons of replace queries) to switch values that are inputed into different labels for the dashboard, in case your source data isn't presentable directly/unformatted.

It would be sooooooooo simple to do that with a single value & labels lookup table, that would be referred to by each column from the data that are used to create the graph in the dashboard.

But not. You either have to create (and maintain) a bizzilion extra tables, or write a bunch of queries.... Please power bi....

's profile image Profile Picture

7c4f8e9a 837a-4b7b-a263-73d71932b66a on 05 Jul 2020 22:41:05

RE: Add the ability for multiple relationships between table pairs

Very valuable! Also vote on other similar ideas: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9196284-use-composite-joins-in-manage-relationships-setup
and
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/10321815-composite-key-support-in-power-bi

's profile image Profile Picture

8c4c20ba 2966-46ca-a5ff-67a442d1ba35 on 05 Jul 2020 22:38:19

RE: Add the ability for multiple relationships between table pairs

Is a pain that Power BI don't support multiple relationships between tables, is a mistake!

's profile image Profile Picture

93c5cc37 20e6-41f9-9022-419a43d0ecca on 05 Jul 2020 22:32:59

RE: Add the ability for multiple relationships between table pairs

This looks the same as https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9115396-multiple-relationships-for-crm

's profile image Profile Picture

cddbc733 90ad-4f11-a324-fe4f6f243abc on 05 Jul 2020 22:27:13

RE: Add the ability for multiple relationships between table pairs

This would be very valuable for models that have foreign keys for example:

Tickets that have many users using CreatedById -> UserId. As alias 'Creator' That is the default association.

Tickets that have many users using AssignedToId -> UserId. As alias 'Worker'.

Tickets that have many users using UpdatedById -> UserId as alias 'Editor'.