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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Between and self join in power bi

Hi,

 

I have a scenarion where I wanted a make a join one field from A table, and 2 fields from B table as mentioned below.

 

A.Resource between B.openby and B.closedby

 

Is it possible to get this join in power bi and how about self join.

 

Thanks,

Thimma

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

Power BI works same way as Tabular model/Power Pivot, it doesn't support self-join. Also it only allows single active relationship between two tables. See: Create and manage relationships in Power BI Desktop.

 

Regards,

MattAllington
Community Champion
Community Champion

You can have multiple joins in Power Pivot, but only 1 can be active. I wrote an article about it here 

http://exceleratorbi.com.au/multiple-relationships-between-tables-in-dax/

 

You can't self join in power pivot, but I am sure you can do something like that in power query as part of data load. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

As an alternative you can dublicate your resource table and rename the origional to openby and the dublicated version to closedby, so you have 2 seperate dimensions.

/sdjensen

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.