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
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
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.