Forum Discussion

bran23's avatar
bran23
New Member
2 years ago
Solved

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 Replies