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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Notakker
Regular Visitor

Filter common values

My data:

Notakker_0-1679520350190.png

My goal:

I'm trying to build a graph with Users and common values between them (at least two). Example, when I try to build my graph, thats what I have:

Notakker_1-1679520467759.png

But I want to eliminate node with only one connection:

Notakker_2-1679520593992.png

Up to here, I can achieve using agreggation and filtering count > 1. But when I try to filter by two or more Users, i'm not able to keep the same dynamic, because the number of connections changes.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Notakker 

You can refer to the following measure

Measure = IF(COUNTROWS(FILTER(ALLSELECTED('Table'),[Related]=SELECTEDVALUE('Table'[Related])))>1,1,0)

Then put the measure to the visual filter

vxinruzhumsft_0-1679624622369.png

It can work

vxinruzhumsft_1-1679624735889.png

 

Best Regards!

Yolo Zhu

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

1 REPLY 1
Anonymous
Not applicable

Hi @Notakker 

You can refer to the following measure

Measure = IF(COUNTROWS(FILTER(ALLSELECTED('Table'),[Related]=SELECTEDVALUE('Table'[Related])))>1,1,0)

Then put the measure to the visual filter

vxinruzhumsft_0-1679624622369.png

It can work

vxinruzhumsft_1-1679624735889.png

 

Best Regards!

Yolo Zhu

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

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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