COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: bloggerman on 28 Aug 2008 08:52:58 PM

Title: Sorting Technique required
Post by: bloggerman on 28 Aug 2008 08:52:58 PM
Heres the problem

Sorting has to be done on States(Illinois, California and Florida) based on the number on the side. The cities under the states would show up alphabetically below their respective states. Each is a row in the table of equal weightage and doesn't have any herirachy in place.

Illinois          5
Chicago      10
Peoria         -1
California      4
LA               1
Sandiego      5
SFO             6
Florida         3
Miami           0
Tampa         4
Title: Re: Sorting Technique required
Post by: blom0344 on 01 Sep 2008 09:08:02 AM
Doable if you add a relationship between states and their respective cities, otherwise you will a hefty SQL expression to get the result you need