COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Gnani on 23 Sep 2010 01:57:40 AM

Title: Values are separated by comma
Post by: Gnani on 23 Sep 2010 01:57:40 AM
Hi,
I need a sol for the below query..
I have 2 columns country and city in list report. I want cities are to be appeared separated by comma for each country.


CountryCities
IndiaHyd,Blore,Kol,Mum
UScity1,city2,city3

Your help would be appreciated....

Cheers,
Gnani...
Title: Re: Values are separated by comma
Post by: MFGF on 29 Sep 2010 10:15:53 AM
Drag a repeater into your list and populate it with the City item and a text item containing a comma.  Go to the query for the Repeater and add the Country item as a new data item. Finally, add a Master/Detail relationship between the List's query and the Repeater's query, linking on the Country item.

Regards,

MF.