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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rbs_analyst
Frequent Visitor

Managing Relationships

Hi guys,

 

I'm having troubles in managing relationships between my tables. It would be nice if someone could explain the difference between cross-filtering in a single direction and both directions. What are the situations where I would select single direction and both directions? Also, what are the differences between an inactive relationship and active relationship?

 

Thanks & Regards,

Ramya.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@rbs_analyst

 

For cross-filtering,

 

Single direction means the filtering choices in connected tables work on the table where values are being aggregated.

 

Both direction means both tables are treated as if they single table, they can filter each other.

 

For more details, please see: Create and manage relationships in Power BI Desktop

 

We can have multiple relationships between two tables, but we can only have one active relationship. To use the inactive relationship in your calculation, you can use USERELATIONSHIP() function. For more details, see: Relationships (SSAS Tabular)

 

Regards,

View solution in original post

4 REPLIES 4
ekene
Regular Visitor

I am also having troubles creating relationships between two tables in power bi online version. My data/tables are gotten from "excel files in my one drive" and loaded into the online BI. However, i am having troubles creating a relationships between two similar colomuns in both tables. For example,

 

Table A: Product; Sales; Month; 

 

Table B: Product; Target;

 

Can someone please assist with how to link/create relationship between "Products" in table A and Table B in the power BI online version. 

 

I know this is possible with the Power Bi offline version

v-sihou-msft
Microsoft Employee
Microsoft Employee

@rbs_analyst

 

For cross-filtering,

 

Single direction means the filtering choices in connected tables work on the table where values are being aggregated.

 

Both direction means both tables are treated as if they single table, they can filter each other.

 

For more details, please see: Create and manage relationships in Power BI Desktop

 

We can have multiple relationships between two tables, but we can only have one active relationship. To use the inactive relationship in your calculation, you can use USERELATIONSHIP() function. For more details, see: Relationships (SSAS Tabular)

 

Regards,

Thanks a lot! That really helps.

This video also gives an good explanation of USERELATIONSHIP

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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