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
paulschneller
Helper I
Helper I

Average/Median for every row for all columns

I use a matrix visual to show multiple groups of data - each in a different row - for every month of the year. I would like to have a column with the average and the median of the year for each row after the Total column.

 

How can I do this? I tried to work with the median-function, but I guess I didnt fully understand it...couldn't make it work. Maybe someone can help. Thanks!

 

I have attached a sample for my problem: https://we.tl/t-FbSTPMJLY1

6 REPLIES 6
Anonymous
Not applicable

Hi @paulschneller ,

 

The file is not available any more. Can you show some sample data and expected result?

 

Best Regards,

Jay

Hi @Anonymous ,

 

I uploaded the files again - I guess wetransfer deletes them after some time: https://we.tl/t-fcF7wI8Qj9

 

In this example the average of Bundesland 3 should be 3 and the average of Bundesland 5 should be 4.

 

rajend12
Helper III
Helper III

Hey @paulschneller ,

 

You can try using the Average/Median from clicking on the columns of the Values field that you have used. Pls refer the sceenshot for your reference.....

 

rajend12_0-1604311436315.png

 

Cheers,

Deepan

 

@rajend12 Thanks for the suggestion. However I don't think we talk about the same here. I need to do a count AND then need the average/median of the counted values.

 

lbendlin
Super User
Super User

It's possible to do that but it will be rather convoluted and include a lot of custom measures.

 

https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1354591

@BIBen That is a little bit above my paygrade. 😉

 

Would it be easier, if the average/median would be in an own table/matrix?

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