Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.