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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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