SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 19175: Incorrect counts might be returned when the multi-select node "Exclude customers that meet these criteria" check box is selected

DetailsHotfixAboutRate It

The check box in the SAS® Campaign Studio multi-select node has an option to "Exclude Customers that meet these criteria". Under certain circumstances, checking that box might cause incorrect counts to be returned.

The Help in SAS® Campaign Studio describes this feature's functionality as follows:

"To exclude the subjects that are included in the expression, select Exclude &ltsubjects> that meet these criteria".

However, this does not occur if the criteria is against any table that is ManyToOne with the subject. The SQL that is generated when the Exclude option is checked is not of the entire Multi-Select WHERE clause.

In a manyToOne selection, that does not exclude Subjects that meet the criteria. Instead it selects subject that meet the opposite of the criteria.

As a simple example of the problem. Consider customer 123 that has two Orders. Order 1 is for Product A and Order 2 is for Product B.

If you have a multi-select that specifies Order.Product = A, then customer 123 is selected. If you then check the option to exclude, one would expect that customer 123 would not be selected.

However, the sql generates:

select customerId from customer table0 join Orders table1 on table0.customerid=table1.customerid where Not (table1.product = 'A');

This sql also selects customer 123 because Order 2 meets the criteria.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Marketing Automation-ServerMicrosoft Windows XP Professional4.45.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition4.45.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition4.45.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition4.45.19.1 TS1M3 SP4
Microsoft Windows 2000 Server4.45.19.1 TS1M3 SP4
Microsoft Windows 2000 Professional4.45.19.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server4.45.19.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server4.45.19.1 TS1M3 SP4
64-bit Enabled Solaris4.45.19.1 TS1M3 SP4
Solaris4.45.19.1 TS1M3 SP4
AIX4.45.19.1 TS1M3 SP4
64-bit Enabled AIX4.45.19.1 TS1M3 SP4
HP-UX IPF4.45.19.1 TS1M3 SP4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.