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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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