Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
We are building a sales comparision report across the terrority by salesperson. We need the group average sales to be availalbe at each row, so what we can compare individual salesperson performance against the average.
We need the below two higllighed colums :
Many thanks !
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCan you try this:
Grp Avg =
CALCULATE (
AVERAGEX ( VALUES ( Table[Salesman] ), [Amount] ),
ALL ( Table[Salesman] )
)Difference = [Amount] - [Grp Avg]
Can you try this:
Grp Avg =
CALCULATE (
AVERAGEX ( VALUES ( Table[Salesman] ), [Amount] ),
ALL ( Table[Salesman] )
)Difference = [Amount] - [Grp Avg]
Hi @MFelix , @mattbrice,
Did some small change and it worked :
Group_Average = CALCULATE(SUM(Sales[Amount]),ALLSELECTED(Sales)) / 8
Divided the result by the no. of salesman. Now the result is what we wanted.
Many Thanks.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsRegards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsRegards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |