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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Formatting Values in a Matrix Visual

Hello,

 

I am creating a matrix and have 2 types of counts. We have counts by the category and then a running total count that consists of the following measure: 

RunningTotal = CALCULATE(SUM('Main Table'[Count]), FILTER(ALL('Main Table'), 'Main Table'[Identified]<= MAX('Main Table'[Identified])))

 

 

When I add this measure as a value to the matrix, it automatically adds it as a new column, however I am wanting this value to appear as a row in the matrix. Any advice on how to format this visual accordingly?

 
 

 

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

Measures cannot be used as a row for matrix visual. you need to use column or calculated columns as rows. in your case it would be

RunningTotal Column = CALCULATE(SUM('Main Table'[Count]), FILTER(ALL('Main Table'), 'Main Table'[Identified]<= EARLIER('Main Table'[Identified])))

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Here is a visual of the current visual for reference

 

myers320_0-1595609879220.png

 

az38
Community Champion
Community Champion

Hi @Anonymous 

Measures cannot be used as a row for matrix visual. you need to use column or calculated columns as rows. in your case it would be

RunningTotal Column = CALCULATE(SUM('Main Table'[Count]), FILTER(ALL('Main Table'), 'Main Table'[Identified]<= EARLIER('Main Table'[Identified])))

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Hi @az38 ,

 

Thanks for the tip, that seems to be working. One follow-up question if you don't mind. Is there a way when I add that column to my matrix for it to appear at the same level instead of having to drill down to get to those values?

az38
Community Champion
Community Champion

@Anonymous 

not sur ewhat do you mean. maybe you need to add this column as Column for Matrix visual


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

The requirement I have is to add that running total count to the bottom of this matrix, where the red box is highlighted.

myers320_1-1595623620166.png

 

Right now, with the new calculated column, I need to drill down on this visual to see the running total

myers320_2-1595623664174.png

Hopefully this helped to make a little more sense.

az38
Community Champion
Community Champion

@Anonymous 

Unfortunately, there is no such option 😞 you can create an idea here https://aka.ms/PBI_Comm_Ideas 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Gotcha- thank you for your help!

az38
Community Champion
Community Champion

@Anonymous 

if you have no more questions - please, mark any useful post as solution to close this thread


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.