cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
OShannon Frequent Visitor
Frequent Visitor

2 Average lines in clustered column chart

Hello guys,

 

 

I got a clustered column chart and my legend has 2 different values. To make it easy lets just call these possible values "purple" and "red"

Chart.JPG

I would like to have 2 average lines in my column chart. One line for the average of the values that are purple, one for the ones that are red. Like that:

Chart_2.jpg

Unfortunetely, the only average line that is possible to create is for all values together. The only measure that I can select is sum of values. Without a filter.

I hope you kind of understand my problem (sorry for bad english).

 

So, to sum it up, my question is: How do I add an average lines that just use values of one color?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: 2 Average lines in clustered column chart

Hi @OShannon ,

AFAIK, power bi charts not allow you to use legend fields and multiple value fields at same time.(you can use legend with single value fields or multiple value fields with no legend)

For your scenario, you can consider to create measures based on different legend and use them in value field, then you can simple create analytic average lines based on measures.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
1 REPLY 1
Community Support Team
Community Support Team

Re: 2 Average lines in clustered column chart

Hi @OShannon ,

AFAIK, power bi charts not allow you to use legend fields and multiple value fields at same time.(you can use legend with single value fields or multiple value fields with no legend)

For your scenario, you can consider to create measures based on different legend and use them in value field, then you can simple create analytic average lines based on measures.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 6 members 1,782 guests
Please welcome our newest community members: