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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
brunozanoelo
Helper V
Helper V

cross filtering

Hello, could anyone explain to me how cross filtering works? Some use case could help me.

I already read the explanation from Microsoft, however, I did not understand.

Https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-bidirectional-filtering/

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@brunozanoelo

If you mean the single/both direction, Check

 

4 tables in excel.

Capture.PNG

 

Load them to Power BI desktop and create relationship with cross filter single/both direction.

Capture.PNG

 

Then check how the direction works among visuals.

When filtering the left tables, the right tables are filtered.

Capture.PNG

 

When filtering the right tables.

Only the left table in a both direction is filtered.

Capture.PNG

 

 

View solution in original post

4 REPLIES 4
Eric_Zhang
Employee
Employee

@brunozanoelo

If you mean the single/both direction, Check

 

4 tables in excel.

Capture.PNG

 

Load them to Power BI desktop and create relationship with cross filter single/both direction.

Capture.PNG

 

Then check how the direction works among visuals.

When filtering the left tables, the right tables are filtered.

Capture.PNG

 

When filtering the right tables.

Only the left table in a both direction is filtered.

Capture.PNG

 

 

Hi @Eric_Zhang !

 

Simple and objective, congratulations!

 

 

Greetings

Berg

Hi @Eric_Zhang 

 

A really well explained example.


In your last sample you mentioned above “When filtering the right tables. Only the left table in a both direction is filtered.”
Is there any way of setting up a relationship where if you filter either the left OR the right table then filtering is applied to its oppisite table, equivalent to an inner join?

Anonymous
Not applicable

this is really awesome example 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.