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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ICTJZT
Frequent Visitor

Scale y axis based on legend selection

I have the following bar chart setup in PowerBI. Sum of cut is generally but not always much smaller than sum of fill. I'd like to be able to display them together but I'd also like the y axis to scale appropriately when I select just sum of cut in the legend. Is there a way to achieve this? Currently when I select sum of cut I get the below screenshot, sum of fill is greyed out but still present. Doesn't neccesarily have to be through the legend, I would be happy to have a slicer I am just not sure how to setup a slicer to pick variables to display.

 

ICTJZT_0-1701746683755.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @ICTJZT 
You can use field parameters to achieve the goal ( with a slicer not from legend) if the values are 2 different measures.

Please refer to the linked tutorial:

https://www.youtube.com/watch?v=V6WchPDZibI
if it is split by category that you put on legend, just create a simple slicer with these categories as a field.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @ICTJZT 
You can use field parameters to achieve the goal ( with a slicer not from legend) if the values are 2 different measures.

Please refer to the linked tutorial:

https://www.youtube.com/watch?v=V6WchPDZibI
if it is split by category that you put on legend, just create a simple slicer with these categories as a field.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors