问题
I am using Matrix Widget in Power BI where I am showing day wise COUNT along with SUM of Row and SUM of Column as shown in the image below.
Here what I want is along with Total I need to show AVG as well both Row and Column wise as shown in image below
How to achieve this, I tried creating new Column and new Matrix but not getting the desired output.
回答1:
First, add the same value column to the Value field as I marked 1 and2 2 in the below image. My case, I have added the column Sales twice and select the Average calculation for the second one as shown in the image-
Now, You will get 2 column per date - Sales and Average of Sales my case. You can see only one Average column in the above image for date 1. This is because I have make width 0 for other columns. Apply the same for all Average... columns and the output will be close to your requirement.
来源:https://stackoverflow.com/questions/64869614/how-to-show-avg-value-in-matrix-widget-along-with-total-in-power-bi