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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Asina
Helper III
Helper III

Circular filtering in Power B - NEED a HERO for this.

I have 2 tables called Table A and Table B. 

Table A has a Column with names that Table B uses a calculation on and filters the connected values. 

TABLE A

KeysMain
55A1
44A1
65A3
55A3
55A2
88A2

 

Table B

MainConnected to
A1A2
A1A3
A3A2
A3A1
A2A1
A2A3

 

Here is what I want from the above.

I want to be able to Filter a value in Table A, lets say A1 and get A2 and A3, which I do at the moment.

Then I want to click on lets say A2 of the filtered A1 and it will show me A1 and A3, which also works due to circular filtering.

However, Since I have attached fotos based on A1 to Ax, when I press 1 of the filtered values I get the picture related to the last filtered value not the rest.

So when i put different slicers I only get the PBI to show me the picture filter for 1 of the slicers not all....

here is how the connection works at the moment: 

 

Asina_0-1668438061061.png

 

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

There @Syndicate_Admin ,

Here are the steps you can follow:

1. Create measure.

Flag =
var _selectBPrincipal=SELECTEDVALUE('Cuador B'[Principal])
var _selectBConectado=SELECTEDVALUE('Cuador B'[Conectado a])
var _column1=SELECTCOLUMNS(FILTER(ALL('Cuador B'),'Cuador B'[Conectado a]=_selectBConectado),"1",[Principal])
return
IF(
    MAX('Cuador A'[Principal]) in _column1,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1668478264664.png

3. Result:

vyangliumsft_1-1668478264674.png

Best Regards,

Liu Yang

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

Unfortunately, it does not do anything different in what the casual filter does.

Maybe I have not explained the problem correctly.

I have a Table A, which has a Main column, where a table of pictures are connected to (for each row there is a picture) . The picture table has a similar Main column which is why I can connect it to the Table A.

Table B is a calculation of Table A, because the Table A Main columns has a subcolumn, where each row in Main can have connection to several of the subcolumn rows, which in the end has same names as the Main.

Its like a dot where several lines are connected to, But the dot itself can only belong to one of the lines, thats why the rest of the lines are neighbor to the dot-connected line. (its hard to explain).

Now, I have a code that gets me the dot-connected-lines neighbors. The neighbors have similarly connection to other lines, lets called them neighbors neighbor. 

I want to be able to click on main dot-connected-line and get all the following connections..

which when I click any of them..the picture table shows me the picture for.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.