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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
moliveira-GA
Frequent Visitor

Change chart categories based on slicer

Hello guys 

 

Please, I need your help to solve a little issue.

 

I want to show a pie chart with categories dependent on a slicer. So, I have this measure "real_netrevenue" that demonstrate the total net revenue, and a table with two columns "Vertical" and "BU". In the pane I have a slicer with the "vertical" data. So, when there is not a filter applied by the slicer, I want to show the real_netrevenue by "vertical", and when I select one of the verticals in the slicer, I want to show those BU's and it's values that are associated to the vertical as demonstrated by the imagens below. Is it possible?

 

With no slicer selected:

 

moliveiraGA_0-1685551930477.png

 

With one vertical selected in slicer:

 

moliveiraGA_1-1685551989567.png

 

thanks in advance!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @moliveira-GA ,

 

If there are not too many slicer values and they are single-selected, you can consider using bookmarks, with the disadvantage that this case is limited to the number of slicer combinations.

 

The other is to create field parameters for [Vertical] and [BU] and drag them to the Legend field of the pie chart. The disadvantage of this method is that there is a Legend slicer and you need to switch it manually.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

3 REPLIES 3
moliveira-GA
Frequent Visitor

Hello, Gao, 

 

It was a paliative solution (the bookmarks option), but it worked for that moment.

 

thanks for your help!

moliveira-GA
Frequent Visitor

Hello Gao, 

 

thanks for your help. I'm gonna try the bookmark solution. 

 

I've tried the field parameters, but the "extra" slicer that becomes necessary is really anoying in this case 😅.

Anonymous
Not applicable

Hi @moliveira-GA ,

 

If there are not too many slicer values and they are single-selected, you can consider using bookmarks, with the disadvantage that this case is limited to the number of slicer combinations.

 

The other is to create field parameters for [Vertical] and [BU] and drag them to the Legend field of the pie chart. The disadvantage of this method is that there is a Legend slicer and you need to switch it manually.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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