cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Using legends as slicers or turning slicers into dual purpose - slicers + legends

Hello,

 

So Power BI lets you select a legend from a group of legends and highlight that particular items on the chart which was selected in the legend. 

Instead of letting legends act as highlighters, can I turn them to slicers so that I don't need another slicer for the items on the legend?

 

Or

 

Is there a way to color code each item in a slicer as a way to turn it into legend + slicer?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Using legends as slicers or turning slicers into dual purpose - slicers + legends

Hi @manjirit,

 

Instead of letting legends act as highlighters, can I turn them to slicers so that I don't need another slicer for the items on the legend?

 

You can directly add the legend field into slicer so that you can filter chart based on legend selection. But what do you mean "don't need another slicer for the items"? Do you mean you have already created an slicer? If so, you could sonsider using Hierarchy Slicer custom visual which is downloaded from Visuals Gallery.
1.PNG

 

Is there a way to color code each item in a slicer as a way to turn it into legend + slicer?

 

If I understand correctly, you want to add the legend into slicer, and display each slicer item with dofferent color. So that, there is no need to show legend items on the top of chart, right? If so, it is not possible to achieve that currently.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Using legends as slicers or turning slicers into dual purpose - slicers + legends

Hi @manjirit,

 

Instead of letting legends act as highlighters, can I turn them to slicers so that I don't need another slicer for the items on the legend?

 

You can directly add the legend field into slicer so that you can filter chart based on legend selection. But what do you mean "don't need another slicer for the items"? Do you mean you have already created an slicer? If so, you could sonsider using Hierarchy Slicer custom visual which is downloaded from Visuals Gallery.
1.PNG

 

Is there a way to color code each item in a slicer as a way to turn it into legend + slicer?

 

If I understand correctly, you want to add the legend into slicer, and display each slicer item with dofferent color. So that, there is no need to show legend items on the top of chart, right? If so, it is not possible to achieve that currently.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors