Hi
I am trying to create a report based on the job number and the status. The report is set up and is running fine. What I want to do is count all the distinct job numbers but I want it to exclude certain job no. based on the status filed
Also I should mention that the status feild is a sum (@Status) that contains the following calculation
if {Status.Status} = 1
Then "UK"
else
if {Status.Status} = 2
Then "Scotland"
else
if {Status.Status} = 3
Then "Ireland"
else
if {Status.Status} = 4
Then "Walse"
else
if {Status.Status} = 5
Then "Non-UK"
An example of my table as it stands is below
Job No. Status
56781 Walse
56854 Walse
57543 UK
57543 UK
67976 Scotland
78543 Ireland
78543 Ireland
78841 UK
79005 Non-UK
79006 Non-UK
Distinct Count = 8
What I want is to do is a distinct count but do not want to include "Non-UK" Job No.'s so I should get a count of 6
I have used a command to not display the "Non-UK" but it still counts them in the distinct job no.'s
the suppression command I have in place is
Status.Status in ["Non-UK"]
Please Help, As I am going going to be creating a cross-tab summary of this report
Kind Regards
Stephen
I am trying to create a report based on the job number and the status. The report is set up and is running fine. What I want to do is count all the distinct job numbers but I want it to exclude certain job no. based on the status filed
Also I should mention that the status feild is a sum (@Status) that contains the following calculation
if {Status.Status} = 1
Then "UK"
else
if {Status.Status} = 2
Then "Scotland"
else
if {Status.Status} = 3
Then "Ireland"
else
if {Status.Status} = 4
Then "Walse"
else
if {Status.Status} = 5
Then "Non-UK"
An example of my table as it stands is below
Job No. Status
56781 Walse
56854 Walse
57543 UK
57543 UK
67976 Scotland
78543 Ireland
78543 Ireland
78841 UK
79005 Non-UK
79006 Non-UK
Distinct Count = 8
What I want is to do is a distinct count but do not want to include "Non-UK" Job No.'s so I should get a count of 6
I have used a command to not display the "Non-UK" but it still counts them in the distinct job no.'s
the suppression command I have in place is
Status.Status in ["Non-UK"]
Please Help, As I am going going to be creating a cross-tab summary of this report
Kind Regards
Stephen