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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
sivarajan21
Post Prodigy
Post Prodigy

Dax measure to resolve the bridge table not filtering connected tables

Hi,

 

I wanted to share interesting work I did and issue am facing due to that.

I have a many-many relationship between my two tables that was causing a huge performance issues

I used Dax_studio to find this and that is one of the lovely tool I have used. I would recommend Dax studio to every developer.

Below is the time taken:

sivarajan21_0-1693298556179.png

 

The relationship is :

sivarajan21_1-1693298620911.png

 

I tried creating bridging table as per the book analysing data with power bi.

This is my modified relationship after the bridge table:

sivarajan21_2-1693298736034.png

The measure I had used for calculating the bridge table is below: 

sivarajan21_3-1693298776104.png

 

The issue I was facing is,  customerfiledata table is not filtering profile alerts table:

As a result, my visual is unfiltered. PFA ss

sivarajan21_4-1693298961653.png

 

My expected output is I want status column of customerfiledata table to filter Profile alerts.

This works if I change the filter direction of customerfiledata and status_ref table into bi-directional.

But please can I expect a dax to solve this issue?

 

Please let me know if you need any info.

 

@Ahmedx @amitchandak @grantsamborn @Greg_Deckler @Ashish_Mathur 

 

Thanks in advance.

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

you need to change the

Screenshot_2.pngScreenshot_1.png

 

View solution in original post

5 REPLIES 5
Sergii24
Super User
Super User

Hi @sivarajan21, turning on "bi-directional" filtering is indeed a "classical" way of solving this issue. However, recently I've found this very interesting article, which shows cases when keeping many-to-many relationships might make sense - Different options to model many-to-many relationships in Power BI and Tabular - SQLBI.

 

Looks like it depends a lot on what table you expect to be filtered the most by your users 🙂

Hi @Sergii24 

 

Many thanks for article!😊

Its useful and will try to use it in future.

 

Ahmedx
Super User
Super User

you need to change the

Screenshot_2.pngScreenshot_1.png

 

Anonymous
Not applicable

I am Facing similar issue with my project can you help me as well, I can not involve Bi directional option as I have another relation created with the DATA Table. I am attaching screenshot for your reference. 

Rajan_AN_0-1710312757414.png

 

Hi @Ahmedx ,

 

Many thanks for your quick response!😊

This worked like a gem!

I will accept this as solution

 

Thanks 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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