cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
qwertzuiop
Advocate II
Advocate II

Sales per employee adjusted by contract (%)

Hello dear Power BI-Community

 

Let's asume these two tables:

 

Employee IDSales
1145
1265
1324
1478
1545
1635
1721
1869
1978
2012
... 

 

Employee IDEmployment contract (%)
1150
12100
1320
14100
1550
1640
1720
1850
1990
2020
... 

 

What i would like to calculate is the following column in red:

The column is calculated by assuming that all employees work full time (Sales / Contract% * 100)

 

Employee IDSalesSales adjusted
114590.0
126565.0
1324120.0
147878.0
154590.0
163587.5
1721105.0
1869138.0
197886.7
201260.0
...  

 

Thank you very much for your contribution.

 

Cheers

qwertzuiop 🐶

2 ACCEPTED SOLUTIONS
vanessafvg
Super User I
Super User I

would not 

 

measurename = calculate(divide(sum(sales), sum(employmentcontract)) * 100

 

would this not work?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

pradeept
Resolver I
Resolver I

Sales adjusted =
CALCULATE(
(SUM(EmpSales[Sales])/Sum(EmpContract[Employment contract (%)])*100
))

View solution in original post

2 REPLIES 2
pradeept
Resolver I
Resolver I

Sales adjusted =
CALCULATE(
(SUM(EmpSales[Sales])/Sum(EmpContract[Employment contract (%)])*100
))

View solution in original post

vanessafvg
Super User I
Super User I

would not 

 

measurename = calculate(divide(sum(sales), sum(employmentcontract)) * 100

 

would this not work?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors