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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
bran23
New Member

Dynamic y-Axis in column chart

Hi All,

I have been teaching myself Power Bi for work and thought it would be fun to create a visual for our football fantasy league. I want to create a clustered column chart with a dynamic y axis that shows the total score but can also be filtered to show each individual line (Defence/Midfield/Forward).

I thought this would be simple, but I can't figure it out.

At first, I thought that Modelling > New Parameter > Feilds and adding each line as a field would work, but when I do that, it won't show any columns.

I've also tried adding slicers for each line but it only gives the option to filter the numbers in each column and not by the column itself. 

Can anyone help show how to do this? I've included a sample of what the dataset would look like below (just at a smaller scale). 

Thanks

 

Manager Defence Midfield Forward Total
Manager A300403250953
Manager B280423267970
Manager C307409222938
2 ACCEPTED SOLUTIONS
qqqqqwwwweeerrr
Super User
Super User

Hi @bran23 

 

Your problem statement is similar to what has been shown in this video, you might need a few modifications which can be done: https://youtu.be/e5q1pW45xRk

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem

Regards

 

View solution in original post

Anonymous
Not applicable

Hi, @bran23 

Thanks @qqqqqwwwweeerrr . Allow me to share my insights. Here's a reference:

First, select the field that needs to be dynamically changed in the field parameters:

vjianpengmsft_0-1711441776622.png

Use this field in the Y axis of the chart:

vjianpengmsft_1-1711442000235.png

Here are the results:

vjianpengmsft_2-1711442106582.png

vjianpengmsft_3-1711442127914.png

In addition, you can refer to the link below, where you can create a dynamic Y-axis chart with a detailed description below. I have provided the PBIX file used this time below.

Solved: Dynamic Y-Axis on Clustered Bar Chart Based on Sli... - Microsoft Fabric Community

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @bran23 

Thanks @qqqqqwwwweeerrr . Allow me to share my insights. Here's a reference:

First, select the field that needs to be dynamically changed in the field parameters:

vjianpengmsft_0-1711441776622.png

Use this field in the Y axis of the chart:

vjianpengmsft_1-1711442000235.png

Here are the results:

vjianpengmsft_2-1711442106582.png

vjianpengmsft_3-1711442127914.png

In addition, you can refer to the link below, where you can create a dynamic Y-axis chart with a detailed description below. I have provided the PBIX file used this time below.

Solved: Dynamic Y-Axis on Clustered Bar Chart Based on Sli... - Microsoft Fabric Community

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

qqqqqwwwweeerrr
Super User
Super User

Hi @bran23 

 

Your problem statement is similar to what has been shown in this video, you might need a few modifications which can be done: https://youtu.be/e5q1pW45xRk

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem

Regards

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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