Forum Discussion
powerboss
6 years agoFrequent Visitor
How To Calculate Average Of Averages
So this is essentially the formula I'm writing which has come the closest: Project Average Hours Per Widget = CALCULATE(AVERAGEX(SUMMARIZE(Table1,Table1[project#],Table1[WidgetOrder#]),[Hours Pe...
edhans
6 years agoCommunity Champion
Without data to play with, will be hard to do, but your ALLEXCEPT() function is telling it to ignore Project#.
Here it is formatted, to clearly see:
Project Average Hours Per Widget =
CALCULATE(
AVERAGEX(
SUMMARIZE(
Table1,
Table1[project#],
Table1[WidgetOrder#]
),
[Hours Per Widget]
),
ALLEXCEPT(
Table1,
Table1[Widget#] <----- Telling it to ignore everything but Widget#
)
)
- powerboss6 years agoFrequent Visitor
Basically I need that 'Hours Per Widget' number, but I then need to average them, grouped by Widget#. And I simultaneously need that average sample size to be contained within the Project#.
All of these are calculated columns that I am pulling from other tables via LOOKUPS.
Any suggestions?
- edhans6 years agoCommunity Champion
It will be very difficult to assist without data. I or others here could spend an hour mocking up a model that I think matches your description, and 100% miss the boat. I've unfortunately done that one too many times.