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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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-num...
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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.