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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Chrisjr
Helper IV
Helper IV

Filteringh to reacts to another filtering

Hello All, 

 

I have the following model:

Chrisjr_0-1671028563179.png

 

You will notice there is a bidirectional relationship between the Promo type table and the fact table as well as between the competitors lookup table and the fact table. 

The reason for these 2 bidireactinal relationships is that on the front-end, when I apply a filter from the Promo Type table, I want the other filter from the competitor table to show me only the possible competitors I can filter based on my first filtering from the Promo Type table. 

 

Is it a good method to achieve it or is there another way to do so whithout having to use a bidirectional relationship? 

 

Thanks, 

Chris

1 ACCEPTED SOLUTION
v-xiaosun-msft
Community Support
Community Support

Hi @Chrisjr ,

 

According to your description, I made a sample and here is my solution.

Sample data:

vxiaosunmsft_0-1671084320520.png

Realtionships:

vxiaosunmsft_1-1671084355012.png

Create a measure.

 

Measure =
VAR _typeid =
    SELECTEDVALUE ( LOOKUP[promo type ID] )
RETURN
    IF ( MAX ( 'FACT'[promo type ID] ) = _typeid, MAX ( 'FACT'[Competitor ID] ) )

 

Put "promo type ID" from "promo type_LOOKUP" TABLE and "Competitor ID" from "Compititors_lookup" Table into slicers.

Put "Measure" into the filters from second slicer and selecte "Not blank", you will get the expected output.

vxiaosunmsft_2-1671084658543.png

 

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ xiaosun

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

2 REPLIES 2
Chrisjr
Helper IV
Helper IV

Thanks a lot @v-xiaosun-msft 

v-xiaosun-msft
Community Support
Community Support

Hi @Chrisjr ,

 

According to your description, I made a sample and here is my solution.

Sample data:

vxiaosunmsft_0-1671084320520.png

Realtionships:

vxiaosunmsft_1-1671084355012.png

Create a measure.

 

Measure =
VAR _typeid =
    SELECTEDVALUE ( LOOKUP[promo type ID] )
RETURN
    IF ( MAX ( 'FACT'[promo type ID] ) = _typeid, MAX ( 'FACT'[Competitor ID] ) )

 

Put "promo type ID" from "promo type_LOOKUP" TABLE and "Competitor ID" from "Compititors_lookup" Table into slicers.

Put "Measure" into the filters from second slicer and selecte "Not blank", you will get the expected output.

vxiaosunmsft_2-1671084658543.png

 

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ xiaosun

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors