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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Filter a table by clicking on stacked bar graph

Hi,

 

We  have a table of 200 records and stacked bar graph with green and red color legend.

 

The requirement is, for suppose we have 100 records for green and 100 for red.By cliking on green portion of the stacked bar chart it has to filter the table to show only 100 records with green color.

 

Is this possible to achieve from Power BI.If yes, kindly let me know the solution.

 

Thank you in advance.

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

Whether the problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help other members in the community find the solution easily if they face the similar problem with you. Thank you.

Best Regards

Rena

Anonymous
Not applicable

Hi @Anonymous ,

Whether the below screen shot is what you want? If yes, you can refer my sample file to do it.

Filter a table by clicking on stacked bar graph.JPG

If the above information can't meet your requirement, please provide some sample data(exclude sensitive data) and your desired result. Thank you.

Best Regards

Rena

amitchandak
Super User
Super User

@Anonymous , if you taking then as a legend and they are visible, you should be able to filter other visual based on that. Same visual it will hight light. If you filter this visual Have one table visual with background color based on conditional format and group with this visual on top 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-grouping-visuals

 

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Yes, check out Page 37 of the attached PBIX file under my sig. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors