Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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"
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:
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?
Solved! Go to Solution.
Hi @Anonymous ,
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
Hi @Anonymous ,
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