cancel
Showing results for
Did you mean:
Highlighted
Helper I

## Average of Averages

Hi everyone,

I'm struggling to handle an easy formula which is a nested average computed along a table with 2 dimension (AUTORE,LINK).

Basically I need to compute first of all an average for each author (AUTORE), and then use those aggregated values to create a second level average.

autore_1 url_A 20
autore_1 url_B 20
autore_1 url_C 20
autore_1 url_D 20
autore_1 url_E 10
autore_1 url_F 10
autore_2 url_G 20
autore_3 url_H 5

For those familiar with Tableau, you could get the correct result with a nested Level of Deatil

I've already checked a similar post (https://community.powerbi.com/t5/Desktop/Average-of-average/m-p/1017894#M481085) but I'm not sure I'm understanding 100%, especially in my case where I have 2 dimension columns and one of them (LINK) is not involved in that caluclus.

Can anyone help?

Fabio

Get in contact on Linkedin: Fabio Fantoni
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IX

## Re: Average of Averages

The general pattern is:

Measure =

AVERAGEX(

SUMMARIZE(

'Table',

[Group],

"__Average",AVERAGE('Table'[Column])

),

[__Average]

)

---------------------------------------

Not link spamming! If I posted a link in reply it is because I did assume you know how to search the web but thought it was the fastest way to fix your issue.

##### I have a NEW book! DAX Cookbook from Packt
Over 120 DAX Recipes!

Proud to be a Super User!

2 REPLIES 2
Highlighted
Super User IX

## Re: Average of Averages

The general pattern is:

Measure =

AVERAGEX(

SUMMARIZE(

'Table',

[Group],

"__Average",AVERAGE('Table'[Column])

),

[__Average]

)

---------------------------------------

Not link spamming! If I posted a link in reply it is because I did assume you know how to search the web but thought it was the fastest way to fix your issue.

##### I have a NEW book! DAX Cookbook from Packt
Over 120 DAX Recipes!

Proud to be a Super User!

Highlighted
Helper I

## Re: Average of Averages

It's exactly what I was looking for.

Regards

Get in contact on Linkedin: Fabio Fantoni

Announcements

#### Microsoft Ignite

This will be a conference that you do not want to miss!

#### Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

#### August Community Highlights

Check out a full recap of the month!

#### August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

#### Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors