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
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.
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)
Solved! Go to Solution.
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)
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.
Result:
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.
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)
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.
Result:
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 39 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |