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
opyke
Regular Visitor

Toggle visibility of Y-Axis data on a Stacked Column Chart

Is there a way to allow report viewers to toggle the visibility of Y-Axis data on a stacked column chart?

This visualization has multiple Y-Axis values, and the users have asked to be able to show one or more of the fields when they view the report.

Thanks

opyke_0-1679483002274.png

 

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @opyke ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_1-1679624551325.png

(2)We can create three measues.

sum of value1 = SUM('Table'[value1])
sum of value2 = SUM('Table'[value2])
sum of value3 = SUM('Table'[value3])

(3) We can create a field parameter.

vtangjiemsft_4-1679625719623.png

 

(4) Then the result is as follows.

 

 

vtangjiemsft_5-1679625778569.png

 

Please refer to the following documents for more information.

Field Parameters in Power BI - Microsoft Power BI Community

Dynamic X and Y Axis in Power BI visuals? Yes please! - YouTube

 

Best Regards,

Neeko Tang

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-tangjie-msft
Community Support
Community Support

Hi @opyke ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_1-1679624551325.png

(2)We can create three measues.

sum of value1 = SUM('Table'[value1])
sum of value2 = SUM('Table'[value2])
sum of value3 = SUM('Table'[value3])

(3) We can create a field parameter.

vtangjiemsft_4-1679625719623.png

 

(4) Then the result is as follows.

 

 

vtangjiemsft_5-1679625778569.png

 

Please refer to the following documents for more information.

Field Parameters in Power BI - Microsoft Power BI Community

Dynamic X and Y Axis in Power BI visuals? Yes please! - YouTube

 

Best Regards,

Neeko Tang

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

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.