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

Sort on Month Name

Started by barrysaab, 11 Mar 2012 10:39:55 AM

Previous topic - Next topic

barrysaab

I need to sort Month_Name in Cross tab which is coming up now as Aug,Feb,Dec--,I want it to be like Jan,Feb,March--Dec.The sorting option is not working.Please help.Thanks
Boy! Cognos getting on to me!!!

blom0344

Create an additional dataitem (using a Case expression) that adds an index to the name :  1.Jan  2. Feb  etc
Associate this with the crosstab header and use it for the underlying sort.

barrysaab

Boy! Cognos getting on to me!!!

absriram

Barry,

You can also use extract function to get the month number and use that as the sorting key.

Sriram.
http://www.cognosonsteroids.com

barrysaab

Sriram,could you please tell me how to extract the number,all i know we can extract month such as extract([Date],Month).Thanks
Boy! Cognos getting on to me!!!