Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Is there a way to add an average line to a "line and clustered column chart"?
I tried the solution listed from 2017, and all I get are averages for each bar, not the entire chart. Is there an easier way? Is this a feature that will be coming out soon? This apparently can be done in Tableau but not in PBIx.
Thanks for your help.
Solved! Go to Solution.
Hi @Anonymous
As you mentioned, these types of charts do not have average lines as a generic feature.
But we can add more lines at any time.
Based on the original values of your bars/lines, you can calculate the average using the DAX ALL function.
As an example:
Average of line Part = CALCULATE(average('Table'[Value2]),all('Table'[Category]))
Put it as a new line.
In the attached picture, I have two averages, one for lines, and one for bars:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Anonymous
As you mentioned, these types of charts do not have average lines as a generic feature.
But we can add more lines at any time.
Based on the original values of your bars/lines, you can calculate the average using the DAX ALL function.
As an example:
Average of line Part = CALCULATE(average('Table'[Value2]),all('Table'[Category]))
Put it as a new line.
In the attached picture, I have two averages, one for lines, and one for bars:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
User | Count |
---|---|
64 | |
59 | |
47 | |
33 | |
32 |
User | Count |
---|---|
84 | |
74 | |
54 | |
50 | |
44 |