Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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êsUser | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
75 | |
64 |