March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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êsMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |