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
Anonymous
Not applicable

Chiclet slicer not working on bar chart

Inn.PNG have created a chiclet slicer and want the bar chart to display either 'Factory1Gas' or 'Factory2Gas'  only when each of the buttons is clicked. ie when I click on Factory1Gas, the bar chat for 'Factory1Gas'  to display and vice versa. But it doesnt seems to work. If I click 'Factory1Gas', it is still displays bar chart and calculation for 'Factory2Gas'..Is there anything else I can do. Is there a better visualisation or chart , measure, column, etc to achieve this?? Is there any thing missing in my relationship? Which is a better approach or visual to use so it will /..Please help

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@Anonymous

 

Generally, you need a Measure table populating the Slicer, then you need to create one selected_measure for each selection from the slicer to SWITCH corresponding measure. For more details, please refer to articles below:

 

Dynamic Measure Selection in Power BI

Dynamically select measures to be shown on a Power BI visual via slicer

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Employee
Employee

@Anonymous

 

Generally, you need a Measure table populating the Slicer, then you need to create one selected_measure for each selection from the slicer to SWITCH corresponding measure. For more details, please refer to articles below:

 

Dynamic Measure Selection in Power BI

Dynamically select measures to be shown on a Power BI visual via slicer

 

Regards,

tjd
Impactful Individual
Impactful Individual

Take a look at the You Tube video, "Change Measures Using A Slicer" which shows you how to do this.

 
 

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.