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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
manjirit
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
v-yulgu-msft
Employee
Employee

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
v-yulgu-msft
Employee
Employee

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.