Forum Discussion
How to dynamically control Y-axis values in Dual axis chart in Power BI
Hi All,
Would like to know if we can automatically dynamically control the values in Y-axis in Dual Axis chart within Power BI. Please refer to the below screenshots for explaination:
For instance in below example - Y1 Legend shows values in Y-Axis and Y2 Legend shows values in Secondary Y-Axis. When I select some value to be displayed in Y1 - then the legend value starts from the minimum value, in this case 0, however the values that are displayed within the line graph are starting close to 0.6. Hence, is it possible to display the values in Y1 Legend or Y-Axis from 0.4 instead of 0. Here, I would not like to fix the Start value or End value in Y-Axis. Also I see that the values of Secondary Axis dynalically adjust with the values that are being displayed in the graph, i.e. here it Starts with 0.9 in Secondary Axis instead of 0 or the minimum value.
NOTE: I am looking for an option other than Zoom Slider.
Thanks in advance.
Hi Anonymous ,
I tried this, it is directly taking the axis automatically as expected.
PFB image
Can you share some sample data that you are using
2 Replies
- Thejeswar
Super User
Hi Anonymous ,
I tried this, it is directly taking the axis automatically as expected.
PFB image
Can you share some sample data that you are using
- AnonymousNot applicable
Hi Thejeswar , thanks for reverting. There was a constant applied in the values which I failed to notice. I tired to work out with the sample data as shown in the screenshot by you and it seems to work fine. Accepting your answer as solution.