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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors