COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: carvy_49 on 06 Jun 2008 02:14:11 PM

Title: Dynamically sorting on coulmn heading in crosstab report
Post by: carvy_49 on 06 Jun 2008 02:14:11 PM
in a crosstab report,

i have last 3 months (example: March, April, May) data in the column side.
row side some product line. and in the cell measure.


if suppose i click on March Month the data will display Ascending order based on March month
if suppose i click on April month the data will display Ascending order based on April month
if suppose i click on May month the data will display Ascending order based on May month.


please help

Title: Re: Dynamically sorting on coulmn heading in crosstab report
Post by: GBIS10 on 23 Oct 2008 02:00:21 PM
Have you discovered the solution to this question? I would be very interested in the explanation.
Title: Re: Dynamically sorting on coulmn heading in crosstab report
Post by: bonniehsueh on 24 Oct 2008 11:19:19 AM
This is a common request. Search on cognoise and you'll find many posts. There are several ways you can do this.

Javascript is one way, but I recommend against using JS as it doesn't upgrade well.

Haven't tried this technique yet, but it looks promising: http://it.toolbox.com/wiki/index.php/Dynamically_sort_columns%2C_no_code_required%2C_c8