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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Dunner2020
Post Prodigy
Post Prodigy

stacked bar chart shows only highlighted values

Hi there,

 

I have a measure that calculates no of events linked to the areas. Measure is:

No of Events =

CALCULATE(

            COUNTX(FILTER('Table 1',

                'Table 1'[Date]<=TODAY()),  

                'Table 1'[Event ID]))

 

I created a stacked bar chart which shows no of events each area has. I created another stacked bar chart which shows the breakdown of events within each area zone. For example if area 'AB' has 10 events, then the second stacked bar chart shows the breakdown for example AB1 has 5 events, AB4 has 2 so on and so forth (in the Second stacked bar chart I used the same measure for displaying values, I only changed the axis values )

 

When I click on the area bar of the first stacked bar chart, the second stacked bar chart highlights the sub-areas of the selected area bar as shown in the figure:

 

leo_89_0-1605050693868.png

 

However, I want to show only highlighted subareas in the second stacked bar chart. I don't want to see the remaining 'un-highlighted' bars in the second bar chart. Is there any way of doing that in Power BI?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Dunner2020 , Change interaction, use cross filter

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Dunner2020 , Change interaction, use cross filter

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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.