COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Tseug on 17 Jun 2009 02:19:39 PM

Title: Summarize unique records across several months
Post by: Tseug on 17 Jun 2009 02:19:39 PM
Hello!  I'm probably making this harder than it is, but here goes.  In a crosstab I have a Headcount value that I total for each month on a report that is running YTD.  Let's say that only one person is to be counted each month from Jan to May.  The total for each month would be "1", but the YTD total is "5" - which is obviously wrong.  How do I get the Summary value to only count unique records in each month?  Thank you in advance!
Title: Re: Summarize unique records across several months
Post by: blom0344 on 17 Jun 2009 02:38:41 PM
For a relational package you should be able to use a measure like:


total (distinct [person] for [some_dimension])


and use this for the YTD node