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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
adrmar
New Member

Conditional Filtering in Scatter Plot

Hello everyone,

 

I am currently struggling with my scatter plot in Power BI. 

Basically I want to map all the topics my department is currently working on. So in the middle of the chart I have my head of department and surrounding it I have all the relevant topics. I did this manually by assigning coordinates for each topic. This worked very well and I have a nice bubble map. What I now want is to filter the topics according to responsibilities. The problem is that for a certain topic there is usually more than one person responsible. 
What I want is a filter where I can click on James and get all the topics where James is responsible/included. But what I get for now in my filter is every combination of responsibilities e.g. "James"; "James, Carl" (as listed in my Excel under Responsibilities (Names)). Alternatively I created the column Responsibility (Numbers) where my idea was to then create an IF Clause so that if a topic contains the value 1 it is assigned to James. And that this way I can create a filter where only the individual names appear. 

adrmar_1-1696931228207.png

I would be very thankful for any help!

 

(disclaimer: I have about 50 topics but only included a few which is why according to the coordinates the head of unit would not be in the middle)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @adrmar ,

 

You could create a measure for this.

And also you need to make sure there's no relationship between tables.

Measure  = 
var _select=SELECTEDVALUE('Table (2)'[Name])
return
IF(
    CONTAINSSTRING(MAX('Table'[Responsibilities(Names)]),_select)=TRUE(),1,0)

vstephenmsft_0-1697088112642.png

Then put the measure into the visual-level filter, set up show items when the value is 1. In the example, I used a table visual as an example.

vstephenmsft_1-1697088192047.png

Result:

vstephenmsft_2-1697088700058.pngvstephenmsft_3-1697088706364.png

Best Regards,

Stephen Tao

 

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 @adrmar ,

 

You could create a measure for this.

And also you need to make sure there's no relationship between tables.

Measure  = 
var _select=SELECTEDVALUE('Table (2)'[Name])
return
IF(
    CONTAINSSTRING(MAX('Table'[Responsibilities(Names)]),_select)=TRUE(),1,0)

vstephenmsft_0-1697088112642.png

Then put the measure into the visual-level filter, set up show items when the value is 1. In the example, I used a table visual as an example.

vstephenmsft_1-1697088192047.png

Result:

vstephenmsft_2-1697088700058.pngvstephenmsft_3-1697088706364.png

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.