Hi there,
I was hoping to re-use a solution provided by Lbass on thread thread767-1794186
This report is to assess the outcome of assessments undertaken with clients.
When we start work with a client a start assessment is completed that generates a score. during our work with the client further assessments will be undertaken. these are either review assessments or an exit assessment when we are coming to the end of the work.
What i need to do is find out across the service how many clients came out with a positive score, negative, no change or where the client is new and has an initial assessment only. for this exercise i am only using start and exit scores so have filtered out any review assessments.
This gives me two rows per client:
client id________assessment_date_________assessment_type__________score
14556___________18/02/2017______________start_assessment_________43
14556___________23/04/2017______________exit_assessment__________15
35421___________11/11/2017______________start_assessment_________34
35421___________18/01/2018______________exit_assessment__________43
59032___________16/08/2018______________start_assessment_________38
59032___________26/10/2018______________exit_assessment__________38
82122___________15/02/2019______________start_assessment_________21
I have grouped by client_id and in the group footer i have formulas that tell me if the score is positive, negative, no change or only initial assesment
What I'd like to do is summarise all the positives, negatives etc,
I have the following formulas,
Score_summary
if (isnull({#count_assessments}) or {#count_assessments} =1) then
"Initial Assessment" else
if previous ({@score}) > {@score} then "Positive" else
if previous ({@score}) < {@score} then "Negative" else
if previous ({@score}) = {@score} then "No Change"
This formula is in the group footer
positive formula
if InStr(( {@compare} ), 'Positive' ) > 0 then 1
the formula's for the other types is the same
This formula is in the group footer.
but when i come to sum the counts of positives, negatives etc in the report footer i am presented with an error "This field cannot be summarised
I was hoping to re-use a solution provided by Lbass on thread thread767-1794186
This report is to assess the outcome of assessments undertaken with clients.
When we start work with a client a start assessment is completed that generates a score. during our work with the client further assessments will be undertaken. these are either review assessments or an exit assessment when we are coming to the end of the work.
What i need to do is find out across the service how many clients came out with a positive score, negative, no change or where the client is new and has an initial assessment only. for this exercise i am only using start and exit scores so have filtered out any review assessments.
This gives me two rows per client:
client id________assessment_date_________assessment_type__________score
14556___________18/02/2017______________start_assessment_________43
14556___________23/04/2017______________exit_assessment__________15
35421___________11/11/2017______________start_assessment_________34
35421___________18/01/2018______________exit_assessment__________43
59032___________16/08/2018______________start_assessment_________38
59032___________26/10/2018______________exit_assessment__________38
82122___________15/02/2019______________start_assessment_________21
I have grouped by client_id and in the group footer i have formulas that tell me if the score is positive, negative, no change or only initial assesment
What I'd like to do is summarise all the positives, negatives etc,
I have the following formulas,
Score_summary
if (isnull({#count_assessments}) or {#count_assessments} =1) then
"Initial Assessment" else
if previous ({@score}) > {@score} then "Positive" else
if previous ({@score}) < {@score} then "Negative" else
if previous ({@score}) = {@score} then "No Change"
This formula is in the group footer
positive formula
if InStr(( {@compare} ), 'Positive' ) > 0 then 1
the formula's for the other types is the same
This formula is in the group footer.
but when i come to sum the counts of positives, negatives etc in the report footer i am presented with an error "This field cannot be summarised