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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
wfarrell19
Advocate II
Advocate II

Matrix with date columns and a measure

Hello, 

 

I have a matrix with a date field as my columns and sales as my values.  I'd also like to display a measure (such as an average or %) at the end in the total column, but I do not want that measure being displayed every month in the matrix. Often times I'm asked to provide something like monthly sales for each month with an average or % at the end next to the total column. Is there a way to do this in Power BI?  I've attached an Excel example of how I would prefer it to work in Power BI. Capture.PNG

1 ACCEPTED SOLUTION
YukiK
Impactful Individual
Impactful Individual

I don't know if there is a way to accomplish that, but you can show average at the total column or custom string showing both avg and sum.

 

I'd use a measure like this:

 

Your Measure =
IF( ISINSCOPE( DateDim[Month] ), [Sum of Sales], "Sum: " & [Sum of Sales] & ", Avg: " & [Avg of Sales] )
 
Output:

 

 YukiK_0-1634076347248.png

View solution in original post

2 REPLIES 2
YukiK
Impactful Individual
Impactful Individual

I don't know if there is a way to accomplish that, but you can show average at the total column or custom string showing both avg and sum.

 

I'd use a measure like this:

 

Your Measure =
IF( ISINSCOPE( DateDim[Month] ), [Sum of Sales], "Sum: " & [Sum of Sales] & ", Avg: " & [Avg of Sales] )
 
Output:

 

 YukiK_0-1634076347248.png

It's not exactly what I'm looking for, but since what I'm looking for doesn't seem to exist yet in Power BI, it's a decent work around.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.