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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.