COGNOiSe.com - The IBM Cognos Community

ETL, App Development and other tools => COGNOS DecisionStream/Data Manager => Topic started by: lebronjames on 01 Apr 2009 06:44:38 PM

Title: Not getting the right number of rows in a fact build
Post by: lebronjames on 01 Apr 2009 06:44:38 PM
Hey,
We have a staging table that pulls in data from a DB2 mainframe database. The underlying SQL when executed in the SQL Term displays the exact row that we need. But when we execute the fact build, it comes up with 4 duplicate rows. The source and the target are both correct with the SQLTerm.

Do you have any ideas as to why this would happen?

Thanks in advance.
Title: Re: Not getting the right number of rows in a fact build
Post by: specialist on 02 Apr 2009 01:46:46 PM
You might have run the build multiple times and module property could be Append.

Check the  Module properties of Table Delivery, by default it's Append. You may want to change to Truncate.
Title: Re: Not getting the right number of rows in a fact build
Post by: emma on 28 May 2009 03:14:00 PM
You have duplicates in your attributes mappings between source and target.