cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors