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

How to set up a slicer that changes the dynamic y axis on more than 1 graph?

Hi! I am pretty new to power BI. Started using it about 1 month ago. 

 

I have seen many videos and posts about creating a slicer to dynamically change the axis in ONE graph. I have a dashboard with about 15 graphs, in order to be able to compare them side by side. I want the user to be able to select an option on the slicer and it change all of the graphs' y axis, as it is different units/data/etc. 

 

I started by trying it out with 2 graphs. I got the dynamic axis to work for the first graph, but when I added the second one, it did not work. It is only showing one of the legend items on the second one and it is not even the right values. This is what I did: 

 

sofiamonroy29_0-1657641522602.png

^ For this one I wrote the first 2 "SELECTEDVALUE" lines for the first graph, and it worked, when I used this measure as the y-axis. However, I just do not know how to incorporate the other graphs into this measure in order to create the slicer. The slicer I made was just the "Field" column of the following table that I made: 

 

sofiamonroy29_1-1657641977536.png

 

This is my first post on the forum (any forum) so I am not sure if I have formatted the question properly. But basically my question is: "How do you create a dashboard with a slicer that dynamically changes the axis of 2+ grpa

4 REPLIES 4
MFelix
Super User
Super User

Hi  @Anonymous ,

 

In this case the best option is to use the new feature Field Parameters check the link below:

 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi Miguel, 

 

Thank you for your response. 

 

I did try that. I set my y axis in my line chart to be the field parameter, but it is not graphing it or showing anything when I select options on the slicer. Any idea how to fix this? 

 

Thanks!

Hi @Anonymous ,

 

In the line chart the field parameter shoul be place on the x-axis, if you have columns on the field parameters and your measures on the Y-axis.

 

If your 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



amitchandak
Super User
Super User

@Anonymous , You need to create one more field parameter. That can help you make a dynamic axis

 

https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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