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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
iLikeAzureSQL
Helper I
Helper I

problem with reporting on multiple relationship

Hello everyone,

I can't make multiple relantionship to work. Here is what I have:

 

Address Table - AddressID PK

Person Table - PersonID PK

PersonAddress Table - PersonAddressID PK - relation bewtween Address and Person

Class table - ClassID PK

PersonClass Tabale - personclassID PK - relation netween person and class

 

When I male a report with Address and Peson table fields it's all good, same as when reporting on person and class 

but I can't add any fileds from the far table when I want top report from Address, Person and Class tables. It's complainig about missing relation but the relation is there and individual reports are working

 

Any idea what's going on and how to fix this ? it looks like a powerbi limitation or soemthing that I'm missing here

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @iLikeAzureSQL,

 

I create a simple sample to test but it works on my side.  Below is the sample:

 

Table:

Capture.PNG

 

Relationship:

Capture2.PNG

 

Visual:

Capture3.PNG

 

Use relationship create a summary table.

 

Formula:

Table = SELECTCOLUMNS(PersonClass,"PersonclassID",[personclassID],"Person",RELATED(Person[Name]),"Class",RELATED(Class[ClaseName]),"Address",RELATED(Adress[Decription]))

 

Capture4.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @iLikeAzureSQL,

 

I create a simple sample to test but it works on my side.  Below is the sample:

 

Table:

Capture.PNG

 

Relationship:

Capture2.PNG

 

Visual:

Capture3.PNG

 

Use relationship create a summary table.

 

Formula:

Table = SELECTCOLUMNS(PersonClass,"PersonclassID",[personclassID],"Person",RELATED(Person[Name]),"Class",RELATED(Class[ClaseName]),"Address",RELATED(Adress[Decription]))

 

Capture4.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Can you do this on dorect query reports?

Hi @iLikeAzureSQL,

 

I think it can't works on direct query mode. Perhaps you can try to do these work on database side.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
BhaveshPatel
Community Champion
Community Champion

You should understand the logic of how relationships flow and how the cross filtering works in PowerBI. Please refer to this BLOG on understanding relationship dynamics.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.