Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Niels_NL
Helper I
Helper I

Total sales per employee & average sales of all employee - in ONE chart.

Hey guys,

 

situation is the following:

  • Sales table including 'revenue', 'date' and 'employee', etc.
  • Employee table including 'employee', etc.

My challenge is to create a barchart per employee showing their individual total sales revenue.

And in the same barchart, I also want to see a bar with the average of all total sales revenues per employee.

 

So, if emp1 has a total of $30,000 and emp2 has a total of $40,000.

The average of all total sales revenues per employee would be $35,000.

And those 4 values, I'd like to have in my chart.

 

I've tried some things myself and I managed to get some DAX measures, but when I have 2 DAX measures for both values in 1 chart, the average of all total sales revenues per employee gets re-calculated for each individual employee again.

 

Any solutions?

 

Thanks!

~ Niels.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Use Clustered column chart.

 

Put Emp on Axis and Revenue in Values

 

Then click on the Analytics button and add "Average Line"

 

Capture1234.PNG

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Use Clustered column chart.

 

Put Emp on Axis and Revenue in Values

 

Then click on the Analytics button and add "Average Line"

 

Capture1234.PNG

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.