SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 18904: Counts might be incorrect if a diagram contains a map node with an underlying left join that is defined between the tables in the information map

DetailsHotfixAboutRate It

A Map node in a SAS® Campaign Studio diagram can return incorrect counts when there is an underlying left join in the information map.

For example, if you have a customer table (with a subject ID of customer) and an account table with a one-to-many relationship, the account table has two subject IDs: customer and account.

In order to allow a multi-select node to return customers who do not have accounts, when selecting customers and accounts, you need to make the relationship between the two tables a left join in the information map.

However, if at some stage you map from account to customer, the left join causes customers without accounts to be returned in addition to those with accounts, making the counts incorrect as the following SQL sample illustrates:

CREATE TABLE MATables.TBBFLBKIJLXYFWAABSASDemoUser AS SELECT DISTINCT table1.CLIENTNUM AS CLIENTNUM LABEL='new Subject IDDIR0' FORMAT=F12.0 FROM SCHEMA.CLIENTS table1 Left join SCHEMA.ACCOUNTS table2 on table1.CLIENTNUM = table2.CLIENTNUM Inner join MATables.TBOD1KTDIBHWA4AAJSASDemoUser table0 on table0.ACCOUNTNUM = table2.ACCOUNTNUM ;

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.39.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.45.39.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.45.39.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition4.45.39.2 TS2M0
Microsoft Windows 2000 Server4.4
Microsoft Windows 2000 Professional4.4
Microsoft Windows 2000 Datacenter Server4.4
Microsoft Windows 2000 Advanced Server4.4
64-bit Enabled Solaris4.45.39.2 TS2M0
Solaris4.45.39.2 TS2M0
AIX4.45.39.2 TS2M0
64-bit Enabled AIX4.45.39.2 TS2M0
HP-UX IPF4.45.39.2 TS2M0
* 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.