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
sharmavicky
New Member

How to select dynamic secondary axis from slicer?

Hi Everyone, 

 

I have a line chart which i have prepard form table. Here are table operations i have applied.

sharmavicky_0-1676700418447.png

Here i have unpivoted few columns and i am using this to make line chart.

 

sharmavicky_1-1676700556526.png

As you can see i have selected the inflation_rate in variable slcier like wise there are other variables exist in slicer.

So if i select one more in slicer (my chart look like this)

sharmavicky_2-1676700660782.png

As you can see the y-axis, the interval drastically changes and makes it dificult to read and draw any conclusuion  

1. is there a way to change interval, which i guess not possible 
2. Is it possible to change primary and secondary axis when selected in scilers i.e. example ave_temp in primary axis and inflation rate in secondary axis 
Note: here are fix rule set
1. On landing page view all the variables are seletced by default

2. If more than three variables or only single variable are selected in sclier then default view i.e. every thing on primary axis is fine and works as in step 1 (which is by default taking palce)
3. Once any two variable selected then dynamically one should go in primary and other in secondary 

sharmavicky_3-1676701346365.png

Thanks in Advance

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.