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

Stacked Bar Graph Segment Linked to Matrix

Hi relative newbie here. I have a stacked bar graph linked to a matrix table, where the bar graph represents count of students by country who have applied to a program and the matrix represents the agent the student is represented by in that country and a count by their age.  

image.png

When I click on a country in the the legend the matrix updates appropriately. So if I choose China from the bar graph legend, the matrix data shows all the agents representing Chinese students and a count of students by their age (the totals don't match since a student can apply to more than one program):

image.png

What I would like to be able to do is click on a segment of the bar graph, and have the matrix data filter down to just those students in the segment (have only agents and ages for that segment for that program). Instead I get all the original data for China :

image.png

Is this possible?? To simplify, can you have a segment of a bar graph link to a matrix? Thanks everyone!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @YeahMan,

 

Do you mean use selected parent category to filter on matrix to instead of selected legend?
If this is a case, current stacked bar chart not support this feature, please submit an idea for this requirement.

 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

HI @YeahMan,

 

Do you mean use selected parent category to filter on matrix to instead of selected legend?
If this is a case, current stacked bar chart not support this feature, please submit an idea for this requirement.

 

Regards,

Xiaoxin Sheng

Hi @Anonymous. That's too bad, since the stacked bar chart is a great visual. Can you recommend a different object that would achieve what I am attempting to do? Thank you for your feedback.

YeahMan
Frequent Visitor

Hi relative newbie here. I have a stacked bar graph linked to a matrix table, where the bar graph represents count of students by country who have applied to a program and the matrix represents the agent the student is represented by in that country and a count by their age.  

image.png

When I click on a country in the the legend the matrix updates appropriately. So if I choose China from the bar graph legend, the matrix data shows all the agents representing Chinese students and a count of students by their age (the totals don't match since a student can apply to more than one program):

image.png

What I would like to be able to do is click on a segment of the bar graph, and have the matrix data filter down to just those students in the segment (have only agents and ages for that segment for that program). Instead I get all the original data for China :

image.png

Is this possible?? To simplify, can you have a segment of a bar graph link to a matrix? Thanks everyone!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.