Forum Discussion
Matrix Average Column
- 4 years ago
Hi spandy34 ,
Matrix table is not support to add a column by custom. The only way to add a column is add a new row under Calender Months, which value is "average".
Then measure:
Measure =var _average = calculate(AVERAGE('Table'[values]),REMOVEFILTERS('Months column'))returnIF(SELECTEDVALUE('Months column'[month])="average",_average,SUM('Table'[values]))Result:The same problem has been solved in this post you can refer.Solved: Re: Dax to get YoY change - Microsoft Power BI Community
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi spandy34 ,
Matrix table is not support to add a column by custom. The only way to add a column is add a new row under Calender Months, which value is "average".
Then measure:
Solved: Re: Dax to get YoY change - Microsoft Power BI Community
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, chenwu. I've used your method to apply to my case but it didn't work. Here is what I write.
Why it didn't show the average amount?Is it because my data is bit complex?
Thank you so much. If you are free, please see my own post problem: Re: Add an average column - Microsoft Fabric Community