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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
spagad6263
Post Patron
Post Patron

How to use filter to select Many to one

Hi,

 

Below are the tables and relationship. They contain sample data and any help would be much appreciated.

 

1. [fact_Transaction]

spagad6263_0-1698104990431.png

 

2. [dim_transaction_Policy]

spagad6263_1-1698105027847.png

 

3. [dim_Policy]

spagad6263_2-1698105058852.png

4. What I would like to achieve is - when user click a Policy (or multiple), below table will show the relevant Transaction record(s)

spagad6263_3-1698105114891.png

 

5. The relationship in Model is as below. I think might have some issues, as it doesn't behave as I expect.

spagad6263_4-1698105177171.png

 

Thank you in advance

1 ACCEPTED SOLUTION

Hi @spagad6263 ,

Yes, it's the easiest way.

Prior to this, the desired effect could not be obtained because the cross-filtering relationship between [fact_Transaction] table and [dim_Policy] table was unidirectional.

 

Best regards,
Community Support Team_Binbin Yu
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

3 REPLIES 3
spagad6263
Post Patron
Post Patron

With the current relationship, if I select an item in the slicer (dim_Policy), the table (fact_Transaction) doesn't change correspondingly.

 

I have to change the relationship to both directions between the fact table and the intermediate table. It seems working now, but I am not sure if this is the correct approach. Thanks

spagad6263_0-1698143781039.png

 

Hi @spagad6263 ,

Yes, it's the easiest way.

Prior to this, the desired effect could not be obtained because the cross-filtering relationship between [fact_Transaction] table and [dim_Policy] table was unidirectional.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

Ashish_Mathur
Super User
Super User

Hi,

What problem are you facing?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.