Forum Discussion
Mtelf24
5 years agoHelper I
Above/Below Average Classification
I have two formulas to calculate the overall average of two bits of data in my dataset. The first: AverageRetention = DIVIDE([Won Count Measure],[Won Count Measure] + [Lost Count Measure]) ...
- 5 years ago
OK I worked out the formula I wanted to do for the average comparison for the revenue and it is working how I want it. Now I'm going to see if I can apply the same for the retention %...
AverageRevenueCompare =VAR averageRevenue =CALCULATE( AVERAGE (Table[Revenue]),ALL(Table[SalesPerson]))RETURNIF (AVERAGE(Table[Revenue]) >= averageRevenue, "Above Average","Below Average")
Mtelf24
5 years agoHelper I
Example PowerBI file:
https://drive.google.com/file/d/1-gASiTeFSy3rE0mNJt2OGUDMYEGq1I9n/view?usp=sharing
I have included the working formula in there for revenue but I still can't work out how to do the same for my retention figure.
- Anonymous5 years agoNot applicable
Hello Mtelf24
If the below output is expected then you can try this measure.AverageRetAboveBelow =VAR averageRevenue =CALCULATE([Retention Measure],ALL( Opportunities[SalesPerson] ))RETURNIF ([Retention Measure] >= averageRevenue,"Above Average","Below Average")If it's not as expected then please share the expected output.