COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: saumil287 on 05 Dec 2011 02:41:20 AM

Title: Display month value start from april to march (financial year) in order
Post by: saumil287 on 05 Dec 2011 02:41:20 AM
Hi all,
I am having a month data item which is month extract from postingdate column.
In bar chart when I take the month col in categories x-axis,  the month values are displaying in incorrect order.
In series , there is ytd and ytd_ly query item.

thanks in advance
Title: Re: Display month value start from april to march (financial year) in order
Post by: HalfBloodPrince on 05 Dec 2011 03:17:10 AM
Hi try this
First add posting date column in Ur query than
Go to advance sort option here add Posting date column sort ascending then add Month column under posting date sorted in ascending order.
Title: Re: Display month value start from april to march (financial year) in order
Post by: saumil287 on 05 Dec 2011 10:34:06 PM
Hi I tried the same but still displaying in incorrect order.
I want from april to march ie financial year
thanks in advance
Title: Re: Display month value start from april to march (financial year) in order
Post by: HalfBloodPrince on 06 Dec 2011 12:50:13 AM
Try too create query calculation Sort as
if( month ='April' ) then
(1)
else
if( month ='May' ) then
(2)

and sort month according to sort  column
Title: Re: Display month value start from april to march (financial year) in order
Post by: saumil287 on 07 Dec 2011 02:42:53 AM
Hi
mY month col is already having the case stat to replace nos with month names
Thanks
Title: Re: Display month value start from april to march (financial year) in order
Post by: HalfBloodPrince on 13 Dec 2011 02:30:07 AM
If your month column is a calculated field then original month data must be in number like 1,2 4. If yes then  in advance sort
fist sort  numeric month ascending than add calculated month below it sorted ascending.