rbh123456789
Technical User
CR 11.5
//@formula
if isnull({temp_rep_app.represent_TYPE}) then 1
else if {temp_rep_app.APP_ID} <> {temp_rep_app.REP_ID} then 1
//
The above formula contains the logic of which records i want to qualify for the count.
Each of the records have a CASEID, which is the main link between all the tables.
The problem if that i have multiple records for many of the CASEIDs.
How can i sum up the above formula to only select the DISTINCT CASEIDs?
//@formula
if isnull({temp_rep_app.represent_TYPE}) then 1
else if {temp_rep_app.APP_ID} <> {temp_rep_app.REP_ID} then 1
//
The above formula contains the logic of which records i want to qualify for the count.
Each of the records have a CASEID, which is the main link between all the tables.
The problem if that i have multiple records for many of the CASEIDs.
How can i sum up the above formula to only select the DISTINCT CASEIDs?