Cognos Double Counting -
i have following table:
billing account number credit alert number account balance full date 00005884 1-400wha 13111.80 2013-08-12 00005884 1-4wtv4e 13111.80 2013-08-12 00005884 1-4tg3wj 13111.80 2013-08-12 00005884 1-43gbo9 13111.80 2013-08-12 00005884 1-5x817t 13111.80 2013-08-12 00005884 1-4afo7s 13111.80 2013-08-12 00005884 1-50pjwy 13111.80 2013-08-12 00017988 null 105.86 2013-08-12 00018713 null 118.00 2013-08-12 00020032 null 7316.06 2013-08-12
as can see have repeating billing account number
account balance
. when in cognos bring in billing account number
, account balance
automatically sums account balance
wrong. how setup determinants prevent double counting?
if set regular aggregate rule average account balance
measure it'll work reports still breaks on others have columns selected etc.
determiantns
determinants set on framework manager.
don't know how model looks like, practice put determinants definitions on database layer (physical tables mapping , relation).
can find great example in great_outdoors_warehouse sample model. (located in c10_directory\webcontent\samples\models\great_outdoors_warehouse).
make sure have installed cognos samples installed framework manager.
in model, under database view->go data->go_time_dime, right click on , choose edit definition. in determinants tab, see:
so, guess should put billing account number key, , account balance attribute , mark group by.
bare in mind, order of determinants matter.
so, must put defintion (account number) before uniquely identified deteminant (if such exist).
great cognos documentation regarding determinants can found here:
framework manager user guide - determiantns
alternative solution
second option be, change usage type fact attribue: afaik, default not sum in list report.
saftey, can change aggregate rule unsupported.
Comments
Post a Comment