cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
artur4
Frequent Visitor

Show multiple grand totals - row & column

Hello,

I am working on a dashboard in which I have a Matrix which has several measures and the totals are manipulated and fixed using the following approach: 
if(COUNTROWS(values('Customer'[Country]))=1, [Measure_Impact], CALCULATE(sum ('Customer'[Impact])- [Measure_Impact_Correction]))

If I sum the total column values and the toal row values they do not match and it is ok as they are considering different metrics. What I can see in the bottom right corner of the Matrix is the sum of the total row values.

artur4_0-1668184547210.png

 I'd like to show two different values in this cell; i.e., the sum of the values of the last row and the sum of the values of the last column. Is it possible?  (Like in the picture below) 

 

artur4_1-1668184667213.png

 

 

1 REPLY 1
v-yinliw-msft
Community Support
Community Support

Hi @artur4 ,

 

Unfortunately, as far as I know so far, you can't display two values in a matrix cell at the same time, it shows the value you calculated.

I can take a simple test:

vyinliwmsft_0-1668411018656.png

 

Then I create the measures:

Average = CALCULATE(AVERAGE('Table'[Value]), ALLEXCEPT('Table','Table'[ID]))
Sum = CALCULATE(SUM('Table'[Value]), ALLEXCEPT('Table', 'Table'[ID]))

 

vyinliwmsft_1-1668411018662.png

 

vyinliwmsft_2-1668411018666.png

 

 

 

 

 

Hope this helps you. Here is my PBIX file.

 

 

 

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors