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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-jayw-msft
Community Support
Community Support

Hi @paulschneller ,

 

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

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Hi @v-jayw-msft ,

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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