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

Group By Date ( Year Month) in Cognos 8 Report Studio

Started by newyork66, 13 Nov 2007 03:46:31 PM

Previous topic - Next topic

newyork66

I have a date field, it's format in DB like this 'mm/dd/yyyy'. How do I group by by YEAR -Month in Report Studio?

MFGF

Hi,

Add two query calculations
extract([yourdateitem],year)
extract([yourdateitem],month)
Then group on these calculations.

Regards,

MF.
Meep!

newyork66