COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: AUjamiebutler on 06 Dec 2023 02:29:00 PM

Title: Report Summary based one single-field with numerous values
Post by: AUjamiebutler on 06 Dec 2023 02:29:00 PM
I am new to the community, working on a report pulling numbers by County. I have one field "county" that has the name of a county. Trying to pull this into a report summary and show a list of each county name that is in the database with the corresponding count for each (i.e. Riverside appears 10 times and San Mateo appears 3) I need to show the counts for each county that shows in a list.

The counties change weekly in our database with new records and such, I don't want to create a count for each county with it always changing.

Can I break out each unique county name and create a count? Any assistance is greatly appreciated.
Title: Re: Report Summary based one single-field with numerous values
Post by: MFGF on 06 Dec 2023 03:32:22 PM
Hi,

You could try adding a Query Calculation to your list with an expression of 1. In the properties of the column, set both the Detail Aggregation and Summary Aggregation properties to be Total.

Does this give you what you need?

Cheers!

MF.
Title: Re: Report Summary based one single-field with numerous values
Post by: AUjamiebutler on 06 Dec 2023 03:55:36 PM
That works perfectly, thanks so much!