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
powerkriya
Frequent Visitor

How to clear selection

I am enhancing the circle card visual by adding a border only when selecting the card.  Iam populating a category data field and a label field value on the visual.  Now I using this visual on a report page multiple times.  

 

If I click my circle card visual iam showing border for the circle and at the same time i want to remove the border on the circle of other circle card visuals on the same report page.  This is to give a feel which visual is being selected.

 

How to achieve this?

 

Iam using the below code to add the border

d3.selectAll("circle")

.attr("stroke", shapeBorderColor)
.attr("stroke-width", "2px");
1 ACCEPTED SOLUTION
powerkriya
Frequent Visitor

I added "supportsHighlight"true in the capabilities.json and this adds the highlights array to the dataview for the visual which is not currently selected.  Using that i managed to remove the border of the circle.

View solution in original post

1 REPLY 1
powerkriya
Frequent Visitor

I added "supportsHighlight"true in the capabilities.json and this adds the highlights array to the dataview for the visual which is not currently selected.  Using that i managed to remove the border of the circle.

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.