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.
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:
^ 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:
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
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
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi 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
Proud to be a Super User!
Check out my blog: Power BI em Português@Anonymous , You need to create one more field parameter. That can help you make a dynamic axis
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
105 | |
87 | |
74 | |
67 |
User | Count |
---|---|
124 | |
112 | |
98 | |
81 | |
72 |