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

Not getting correct total

Started by mark123, 12 Feb 2016 02:15:02 PM

Previous topic - Next topic

mark123

Hi,

I need to display total of a column in a separate table above the list report instead of having a total column. I created a singleton object and inserted in the total table but i am getting the total wrong.
I should get identified count as 6 and amount as 550 but i am getting wrong values in the singleton above the list. I have attached a snapshot of output.

Its relational model.

Thanks,
Mark


MFGF

Quote from: mark123 on 12 Feb 2016 02:15:02 PM
Hi,

I need to display total of a column in a separate table above the list report instead of having a total column. I created a singleton object and inserted in the total table but i am getting the total wrong.
I should get identified count as 6 and amount as 550 but i am getting wrong values in the singleton above the list. I have attached a snapshot of output.

Its relational model.

Thanks,
Mark

Is the singleton based on the same query as your list?

MF.
Meep!

mark123

yes it is singleton and from same query as list

MFGF

Quote from: mark123 on 15 Feb 2016 03:31:48 PM
yes it is singleton and from same query as list

Are you using the same items in your singleton that are being used in the list footers?

MF.
Meep!

cognos-t

#4
Hi Mark,

For me it looks like your singleton for the count is really counting numbers. Therefore you should use a total function on the count item instead.

The function should look like that total([Count])

For the amount you may try something like that: total([Amount] for report) in order to let cognos build a total for all elements in the query.

Regards