COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mosemont on 31 Oct 2012 10:01:13 AM

Title: Alarm count
Post by: mosemont on 31 Oct 2012 10:01:13 AM
Hi,
new with Cognos.
Trying to create a list with the number of alarms, grouped by severity, that were generated in a period of time.
I'm trying to modify a chart that offers it, to have all numbers in a table, but not able to do it.
Row: Severity
Column: Month/Day
cell: alarm's count
Any suggestion please?
sure it is very easy for all of you  ;)
Title: Re: Alarm count
Post by: blom0344 on 31 Oct 2012 03:47:54 PM
Row AND Column would suggest that you want to build a crosstab , rather then a list. If that is what you are after, then copy the query , drag a crosstab to a report page , associate it with the copied query  and drag Severity to the rows,  Month/day to the columns and put alarm's count in the body..
Title: Re: Alarm count
Post by: mosemont on 06 Nov 2012 05:35:39 AM
Thanks for reply.
But what should the query contain? i'm trying to add a Count by column :-(
Title: Re: Alarm count
Post by: blom0344 on 06 Nov 2012 07:04:14 AM
I'm not following you.. An aggregate is performed in the context of non-aggregates.  If you define a measure count([Alarm]) and bring in severity and time dimension attributes  day and month then you will automatically have output of the query as count(alarm) by severity,month,day