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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
summit20
Helper I
Helper I

Add value to powerbi matrix without making a new column

I have created a matrix with some transaction data. I want to display the monthly amounts as columns, but add a column at the end that shows average and target. When I add my measure which calcultes average, it adds it to every single month. Is there a way to display the column just at the end. Ideally it would look like this. Is it possible to add a column to a matrix without it adding it next to every month?

ItemJanFebAverageTarget
Item110201517
Item25554
Item350605557

WithAverage.PNG

WithoutAverage.PNG

3 REPLIES 3
Anonymous
Not applicable

Hi @summit20 ,

 

Could you tell me if my post helps you? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.Hope to hear from you‌‌

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @summit20 ,

 

Please try:

1. unpivot the Jan and Feb column:

Eyelyn9_0-1630980411013.png

2.Create average measure:

Average = IF(HASONEVALUE('Table'[Month]),SUM('Table'[Value]),AVERAGE('Table'[Value]))

3.Create visuals:

Eyelyn9_3-1630980670764.png

4.Group these two visuals:

group two visuals.gif

 

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

PaulDBrown
Community Champion
Community Champion

The easiest way is to hide the columns for [Average] in each of the months by dragging the field boundary, but you will need to turn off the "Word wrap" and possibly the "Auto-width" in the formatting options for columns in the formatting pane. 
If you need a more "complex" structure, you can create a custom layout. Here is a "tutorial" on how to achieve this:

How to create a custom or hybrid matrix  





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.

Top Solution Authors