Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have the following area chart visual, which contains a legend of two variables (CLO A and CLO B).
I would like to calculate the average value of the CLO A and CLO B, and add that average to the area chart as the "average CLO" - which would be a third area line in the chart.
Here is the data used
Many thanks in advance
Solved! Go to Solution.
Hi, @MartynasBI
You can try the following methods.
Column:
Average = AVERAGEX(FILTER('Table',[Revenue growth]=EARLIER('Table'[Revenue growth])),[Nr of companies])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Does this work?
AVERAGE_BY_REVENUE% =
CALCULATE(
Does this work? (The paren
AVERAGE_BY_REVENUE% =
CALCULATE(
Hi, @MartynasBI
You can try the following methods.
Column:
Average = AVERAGEX(FILTER('Table',[Revenue growth]=EARLIER('Table'[Revenue growth])),[Nr of companies])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-zhangti ,
Yes, the numbers are correct, thanks!
However, I Power BI does not allow me to add this newly created column to the area chart visual Y axis. Do you know any workarounds around that?
Thanks,
It would be a measure, not a column.
Unfortunately a measure in this case is not sufficient, as it cannot be added to the visual
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
85 | |
82 | |
69 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |