Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
76 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |