MSTR Reports drop records when two tables join on a column with null values
CAUSE:
The MicroStrategy SQL Generation Engine does not support null values in attribute ID columns. Using column name as in attribute ID form is incorrect modeling for the MicroStrategy SQL Generation Engine.
WORKAROUND:
Modify the ID form of the attribute definition to the following:
ApplySimple('NVL(#0, 0)', )
This syntax is Oracle specific and this function replaces null fields with zeros. This function syntax, however, may be altered to replace Zero by any value. Ensure that single quotes are placed around the text.
That should take care of NULL values in the joining column.
Comments
Post a Comment