Hi,
I am trying to partion by a beast mode and then creating a table based to provide an overview of how many agents fall into a certain quadrant.
1. I created a beast mode that places each customer into the scatterplot based on the two score I defined:
advisory score= sum(case when product='nx' then 'score' else 0) / sum(case when product='nx' then 1 else 0)
sales ratio=sum(sales)/sum(attempts)
2. I created another beast mode variable that determines which quadrant they fall in:
case when (
sum(case when product='nx' then 'score' else 0) / sum(case when product='nx' then 1 else 0))>0.5 and
(sum(sales)/nullif(sum(attempts))),0)) >0.4
then 'Q1' else
(case when (
sum(case when product='nx' then 'score' else 0) / sum(case when product='nx' then 1 else 0))>0.5 and
(sum(sales)/nullif(sum(attempts))),0)) <=0.4
then 'Q2' else
(case when (
sum(case when product='nx' then 'score' else 0) / sum(case when product='nx' then 1 else 0))<=0.5 and
(sum(sales)/nullif(sum(attempts))),0)) <=0.4
then 'Q3' else
(case when (
sum(case when product='nx' then 'score' else 0) / sum(case when product='nx' then 1 else 0))<=0.5 and
(sum(sales)/nullif(sum(attempts))),0)) >0.4
then 'Q4'
end) end) end) end
3. I am trying to get a simple table like in the attachement using the HTML Table.
But when I drag the variable I created in 2 into columns and also drag count of agents it all just collapses to one row (attached in 2nd pic) and counts the row entries.
Any idea how to solve that??
Any help is much appreciated!