Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
cuohanele
Helper I
Helper I

DYNAMIC Y AXIS

Hello everyone,

 

Is it possible to dynamically change the Y axis of one visual based on another visual. I have two bar charts with different values but I want for the y axis of the chart on the left to change based on the axis on the right chart. Please advise

 

Screenshot (36).png

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

You can't tie the axes max values together, but you could write a measure to be used in the first visual that shows you a percent of the max value shown in the 2nd one (or some other dynamic calculation to relate them) to get a similar effect.

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


How can I go about this? Any example? I think that might work

Hi @cuohanele,

Normally power bi uses highlight effect to the interaction between charts, you cna turn on the 'edit interaction' and change the visual interaction mode to filter instead of highlight, then these corresponding visual graphs will be filtered by your action on the current visual.

Change how visuals interact in a Power BI report 

If you are trying to design visuals that dynamical changes axis and category based on filters, you can also take a look at the following blog about dynamic attribute filters:

Dynamic Attributes In A Power BI Report 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@cuohanele , You set interaction to filter(Cross filter). Click on one of the bar then set it Filter.

There is no control. This will make y-axis to adjust.

 

refer step : https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Interactions.png

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors