Forum Discussion
clem312
5 years agoResolver I
Line Chart - Industry average per year
Hi, I made a line chart for several brands and with year on axis level. I need to add an average line for automotive industry (all brands selected) on this graph per year. As I put the brand in...
v-henryk-mstf
5 years agoCommunity Support
Hi clem312 ,
I did a test, and the reference is as follows: You can create a measure or calculated column to find the average value in different years. Then put it in the "value" in the line visual.
M_avg = (MAX('Table (2)'[Ford])+MAX('Table (2)'[Peugeot])+MAX('Table (2)'[Renault]))/3Average = ('Table (2)'[Ford]+'Table (2)'[Peugeot]+'Table (2)'[Renault])/3
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.