If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

HELP** Measure is not showing real value...

Started by danielep, 13 Oct 2009 03:33:50 PM

Previous topic - Next topic

danielep

I have a measure in Cognos 8 Transformer that should bring the result of the fild in a table. But as it joins with the fact table it brings the number of records in fact table, instead of bringing the real value of the field.

Example:

Table 1
Id_cr   Name    Qtde
1   Xisttt   1
2   Xzzzzz    2
3   aaaaaa    1   

Fact table
Id_cr   Value
1         100
1   10
1   20

The Measure in Cube should bring for Xisttt the measure = 1. It is bringing 3 because it is taking the count of fact table.

Please, can someone help me?

nybble

If you make these separate queries then everything will work properly. The Id_cr field is used as the Source value for the categories, so in both queries it can locate the category for the corresponding measure value.

When you join them you end up with this, which causes your problem:

Id_crNameQtdeValue
1Xisttt1100
1Xisttt110
1Xisttt120
2Xzzzzz2null
3aaaaa1null