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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Average Across rows with different measures

 

So I have a matrix with the rows beign made of calculated measures and the columns are fiscal week. 

strausam_0-1624912964179.png

what I need to add is an average column that takes into account a parameter.  The parameter is a fiscal week (eg. 16) and I need to average across the row upto and including that parameter week.  

 

My problem is that all theaverage calcs average within a column or a specific measure. is there a way to just add a column that will average across the row? 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can create a measure like this to calculate the row average in matrix:

Average = 
CALCULATE(
    AVERAGE('Table'[Value]),
    ALLEXCEPT('Table','Table'[Category])
)

average.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can create a measure like this to calculate the row average in matrix:

Average = 
CALCULATE(
    AVERAGE('Table'[Value]),
    ALLEXCEPT('Table','Table'[Category])
)

average.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors