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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-cgao-msft
Community Support
Community Support

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 😅.

v-cgao-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.