silentbuddha
Board Regular
- Joined
- Mar 1, 2008
- Messages
- 112
Hi All,
I'm trying to figure out how to solve this Unique Count situation based on multiple criteria
Scenario: we have agents from different departments who produce different sales on different plan rates
Raw Data
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Plan Rate[/TD]
[TD]Payout pts[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]20[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]30[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]30[/TD]
[TD]200[/TD]
[/TR]
</tbody>[/TABLE]
Matrix
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Matrix
[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]30[/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made one sale on a plan_rate of 10.[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made two sales on a plan_rate of 20.[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made three sales on a plan_rate of 30.[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
I'm trying to figure out how to solve this Unique Count situation based on multiple criteria
Scenario: we have agents from different departments who produce different sales on different plan rates
Raw Data
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Employee[/TD]
[TD]Plan Rate[/TD]
[TD]Payout pts[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]20[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]30[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]30[/TD]
[TD]200[/TD]
[/TR]
</tbody>[/TABLE]
Matrix
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Matrix
[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[TD="align: center"]Plan Rates
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]30[/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made one sale on a plan_rate of 10.[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made two sales on a plan_rate of 20.[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"] Sales Volume bucket
[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]count of unique # of employees who made three sales on a plan_rate of 30.[/TD]
[/TR]
</tbody>[/TABLE]
Thanks

Last edited: