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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Cling
Frequent Visitor

Modelling Problem

Hello guys!

 

I have a complex model in Power BI with many fact tables and multiple dimensions, but let's simplify it.

 

Goal: Show a table as a visual that relates the elements of table A to those of table B by means of some logic in an intermediate table:

Cling_0-1734694342681.png

 

The relationship in the model must be bidirectional, since if you filter in the dimension A, the result must show the corresponding B records. The same if I filter in B.

The problem is that those same dimensions are in turn used to filter other fact tables, and I don't want to filter through dimension A to expand through the intermediate dimension to dimension B only in this particular case.

 

Anybody can help me with this, please?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Cling ,

 

Here I create a sample to have a test. I think by default the direction for one to many relationship is single.

I suggest you  to keep single instead of choose both between A and INTERMEDIATE / B and INTERMEDIATE.

In my sample the table based on [DESC_A] and [DESC_B] is the same as yours.

vrzhoumsft_0-1734941899795.png

Data model:

vrzhoumsft_1-1734941966308.png

Then if I click the data which only from Table A or Table INTERMEDIATE, the data from other table won't be filtered.

vrzhoumsft_2-1734942043013.png

However if I click the table contains data from Table B, it will be filtered. This is because that [DESC_B] from B table could interact data from other table.

vrzhoumsft_3-1734942102315.png

I suggest you to turn off the interaction in visuals which you don't want it be impacted by others.

vrzhoumsft_4-1734942153704.png

For reference: Change how visuals interact in a report - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

6 REPLIES 6
Cling
Frequent Visitor

Doing what you indicate, if you filter on A, the filter would propagate to B through the intermediate table and affect the other tables:

Cling_0-1734700856557.png

 

Anonymous
Not applicable

Hi @Cling ,

 

Here I create a sample to have a test. I think by default the direction for one to many relationship is single.

I suggest you  to keep single instead of choose both between A and INTERMEDIATE / B and INTERMEDIATE.

In my sample the table based on [DESC_A] and [DESC_B] is the same as yours.

vrzhoumsft_0-1734941899795.png

Data model:

vrzhoumsft_1-1734941966308.png

Then if I click the data which only from Table A or Table INTERMEDIATE, the data from other table won't be filtered.

vrzhoumsft_2-1734942043013.png

However if I click the table contains data from Table B, it will be filtered. This is because that [DESC_B] from B table could interact data from other table.

vrzhoumsft_3-1734942102315.png

I suggest you to turn off the interaction in visuals which you don't want it be impacted by others.

vrzhoumsft_4-1734942153704.png

For reference: Change how visuals interact in a report - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hi @Cling - 


Create the following relationships:

A → Intermediate (One-to-Many, Bidirectional).
B → Intermediate (One-to-Many, Bidirectional).
B → Other Table (One-to-Many, Single Direction).
Ensure the relationship between A and B is indirect via the intermediate table.

 

The key is to use bidirectional filtering only where necessary and control propagation using single-direction relationships and DAX measures. If further customization is needed, consider calculation groups for enhanced control. Let me know if any further details required to support on this.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





rajendraongole1
Super User
Super User

Hi @Cling -  you want to establish a bidirectional relationship between Dimension A and Dimension B through an intermediate table without affecting other fact tables.

as per the above images, Dimension A to Intermediate Table: Create a one-to-many relationship (ID_A).Dimension B to Intermediate Table: Create a one-to-many relationship (ID_B).Both relationships should be bidirectional to allow filtering in both directions.

 

 

By default, Power BI will allow cross-filtering between Dimension A and Dimension B for all related tables, which can affect other fact tables.
you can prevent below type:
Identify the relationships between Dimension A, Dimension B, and the other fact tables.
Change these relationships to single direction (from the dimension to the fact table).

 

Create a custom table:

 

Use the intermediate table to display the relationships between Dimension A and Dimension B without propagating filters to other tables:

Add DESC_A from Dimension A and DESC_B from Dimension B to a table visual.
Power BI will use the intermediate table to link the two dimensions, showing the correct results.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Doing what you indicated, the filter would propagate, If I filter in A, the filter would propagate to B through the intermediate table and affect the other tables:

Cling_0-1734696301446.png

 

Doing what you indicated, the filter would propagate, If I filter in A, the filter would propagate to B through the intermediate table and affect the other tables:

Cling_0-1734696301446.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors