COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: tushar gaurav on 12 Sep 2014 05:59:11 AM

Title: How to create dynamic sorting on date column in a list report
Post by: tushar gaurav on 12 Sep 2014 05:59:11 AM
How to create dynamic sorting on date column in a list report?
e.g
suppose the is a list report having three column i.e Product Line ,Date and Revenue.
Now when we execute the report ,then the on the op available we can sort the data if we click on Date heading.
How we can achieve this requirement??
Title: Re: How to create dynamic sorting on date column in a list report
Post by: Francis aka khayman on 14 Sep 2014 09:58:02 PM
old approach will be to create three lists. one will be sorted by product line, another by date and third by revenue.

add a drop down (or whatever) in the report and upon choosing a value, display the appropriate list.

I hope there is a new approach, it will be interesting to know. that is why i replied to this thread to be updated with any replies :)  8)
Title: Re: How to create dynamic sorting on date column in a list report
Post by: BigChris on 15 Sep 2014 01:51:51 AM
A little bit of searching on this forum produces a number of results on this topic:

http://www.cognoise.com/index.php/topic,25303.msg79888.html#msg79888

http://www.cognoise.com/index.php/topic,24253.msg75871.html#msg75871

http://www.cognoise.com/index.php/topic,23196.msg71512.html#msg71512

Do any of those give you any pointers...?
Title: Re: How to create dynamic sorting on date column in a list report
Post by: CognosPaul on 15 Sep 2014 02:22:29 AM
There's an undocumented, unreleased, and slightly broken feature here (https://www.linkedin.com/groups/Want-Dynamic-Sorting-in-Cognos-136893.S.5808065738367315968).

This may or may not break other features, such as cascading prompts, but at least it shows that IBM is working on it.
Title: Re: How to create dynamic sorting on date column in a list report
Post by: tushar gaurav on 17 Sep 2014 04:28:32 AM
Thanks all for the help.
I have another query.
Is it possible to have the dynamic sorting in cognos similar to excel i.e
suppose the is a list report having three column i.e Product Line ,Date and Revenue.
Now when we execute the report ,then the on the op available we can sort the data first by Product line then by date and then by Revenue.
Title: Re: How to create dynamic sorting on date column in a list report
Post by: Francis aka khayman on 17 Sep 2014 08:52:01 PM
you are executing the report, can't you just execute with output to excel?