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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PowerAutomater
Helper IV
Helper IV

Is there a way to filter or hide parts of a chart's legend?

I have a few charts which contain a bit of data and it is making the legend look quite cluttered and unreadable. I also don't want to allocate more space for the chart/legend as it is not the most important element on the page. Therefore I'm wondering if there's a built in way (or some handy hack) to show only parts of the legend for example the top 3 results? So far the only way I've managed to change the legend is by making the font color white and inserting text labels over the top, but there must be a better way?

1 ACCEPTED SOLUTION

hello @PowerAutomater 

 

i assumed you use column value as legend. The legend label is there because you have a data for it.

Unless you remove the data associated with that blank legend label then the legend will be disappear as well.

 

i think your solution is good by making those color transparant to background.

Or as you mentioned above, only show top 3 highest counting should do the trick (but this will make your visual only show 3 legend).

 

there are probably other ways to do this depend on your outcome data and visualization.

 

Hope this will help.

Thank you.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @PowerAutomater,

 

Thanks @Irwan for Addressing the issue.

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

Irwan
Super User
Super User

hello @PowerAutomater 

 

how about removing the unwanted data using visual filter or page filter?

 

Thank you.

Sorry I don't mean removing the data from the chart itself, that needs to stay there, just removing some of the labels from the legend as it is too cluttered

hello @PowerAutomater 

 

i assumed you use column value as legend. The legend label is there because you have a data for it.

Unless you remove the data associated with that blank legend label then the legend will be disappear as well.

 

i think your solution is good by making those color transparant to background.

Or as you mentioned above, only show top 3 highest counting should do the trick (but this will make your visual only show 3 legend).

 

there are probably other ways to do this depend on your outcome data and visualization.

 

Hope this will help.

Thank you.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.