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

Calculation based on row and column headers

Hi All,

 

I have a problem when i am trying to calculate the average based on the rows and column.

E.g I a table Column have months and Rows have Team name and the table filled with values. Now i wants to calculate the average employee joined per team. Average should be displayed in the highlighted column.

 

Note: Needs only by Dax or Measures

 

Average Calculation.JPG

 

2 REPLIES 2
ArunkumarK
Helper I
Helper I

Hi,

Thanks for replying back to the queries.  I needs to calculate the average by rows instead of grand total. Like in the first row it should be 4.5 instead of 18.

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @ArunkumarK ,


E.g I a table Column have months and Rows have Team name and the table filled with values. Now i wants to calculate the average employee joined per team. Average should be displayed in the highlighted column.


It seems that you want to calculate the average employee joined per team so it should be 209/6?

And you want to show the average under the grand total ?

If it is, I'm afraid that we cannot achieve that in matrix in power bi currently.

If I misunderstood, please share your desired output so that we could help further on it.

Best Regards,

Cherry

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors