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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
alee5210
Helper II
Helper II

Remove Other Bars (Bar Chart)/Point (Scatter plot) When One Option Selected

Hi, I have a question and I'm not sure if it's possible.

Let's say I have a bar chart with 3 bars, if a user selects one of those bars for cross filtering, can the other bars completely disappear? 

Similarly, in a scatterplot, if a user selects one of the points, can all the other points disappear so only that one single point remains?

I know if you select a bar/point, the other bars/points turn slightly opaque, but I would rather have those just disappear.

Does Power BI have this functionality?

Thanks

1 REPLY 1
Kedar_Pande
Super User
Super User

@alee5210 

In Power BI, there isn't a built-in feature to make other bars or points completely disappear upon selection in a visual. By default, Power BI applies a cross-filter that makes unselected bars or points partially transparent, as you mentioned.

 

Workaround:

You can create a DAX measure-

SelectedData = IF(
ISFILTERED(YourTable[Category]),
IF(
HASONEVALUE(YourTable[Category]),
1,
BLANK()
),
1
)

Use this measure to conditionally filter your visual by placing it in the visual level filters pane and setting it to show only non-blank values.

 

If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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