Forum Discussion
tangutoori
7 years agoHelper III
calculation depending on two columns
hi team i have two tables [final implemented] and [imp co aut].
ID Employee ID
| 12450 | 14613 |
| 12448 | 22982 |
| 12406 | 41259 |
| 12385 | 7028 |
| 12384 | 7028 |
| 12383 | 7028 |
| 12382 | 7028 |
| 12381 | 7028 |
| 12379 | 7028 |
| 12370 | 34593 |
| 12209 | 7178 |
| 12146 | 26607 |
| 12046 | 17527 |
| 12017 | 21489 |
| 12015 | 22925 |
| 11991 | 22982 |
| 11745 | 46385 |
| 11329 | 23445 |
| 10933 | 47194 |
| 10137 | 17053 |
| 9610 | 37575 |
| 9190 | 40423 |
ID Co Employee ID
| 12450 | 47167 |
| 12450 | 41344 |
| 12450 | 27773 |
| 12448 | 7707 |
| 12448 | 33398 |
| 12448 | 34919 |
| 12406 | 43259 |
| 12406 | 43254 |
| 12406 | 26546 |
| 12370 | 24823 |
| 12370 | 25024 |
| 12370 | 16139 |
| 12209 | 7345 |
| 12209 | 8407 |
| 12209 | 7343 |
| 12146 | 16139 |
| 12046 | 6895 |
| 11991 | 2653 |
| 11745 | 29369 |
| 11745 | 34356 |
| 9610 | 27129 |
Result = UNION('final implemented','imp co aut')
output table as below
ID EID
| 12450 | 14613 |
| 12448 | 22982 |
| 12406 | 41259 |
| 12385 | 7028 |
| 12384 | 7028 |
| 12383 | 7028 |
| 12382 | 7028 |
| 12381 | 7028 |
| 12379 | 7028 |
| 12370 | 34593 |
| 12209 | 7178 |
| 12146 | 26607 |
| 12046 | 17527 |
| 12017 | 21489 |
| 12015 | 22925 |
| 11991 | 22982 |
| 11745 | 46385 |
| 11329 | 23445 |
| 10933 | 47194 |
| 10137 | 17053 |
| 9610 | 37575 |
| 9190 | 40423 |
| 12450 | 47167 |
| 12450 | 41344 |
| 12450 | 27773 |
| 12448 | 7707 |
| 12448 | 33398 |
| 12448 | 34919 |
| 12406 | 43259 |
| 12406 | 43254 |
| 12406 | 26546 |
| 12370 | 24823 |
| 12370 | 25024 |
| 12370 | 16139 |
| 12209 | 7345 |
| 12209 | 8407 |
| 12209 | 7343 |
| 12146 | 16139 |
| 12046 | 6895 |
| 11991 | 2653 |
| 11745 | 29369 |
| 11745 | 34356 |
| 9610 | 27129 |
Now i want divide 5000 poits per each ID depending on the count of Emplouyees per ID.
FORMULA FOR POINTS CALCULATION:
Points = 5000/EID
1 Reply
- adityavighneContinued Contributor
Your column headers are confusing but below may help you.
select Don't Summarize option -