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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
Anonymous
Not applicable

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

 

Anonymous
Not applicable

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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