COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Avi on 17 Aug 2020 07:53:46 AM

Title: Displaying ParamDisplay Values
Post by: Avi on 17 Aug 2020 07:53:46 AM
Hi,

I have a requirement where I need show all the selected parameter values(paramvalue or paramdisplayvalue) on the report page separated with a comma. I tried using a repeater but the last value is also having comma at the end which is unavoidable.

Kindly help me in achieving this.
Thanks in advance.

Regards
Title: Re: Displaying ParamDisplay Values
Post by: dougp on 18 Aug 2020 03:16:37 PM
You may be working too hard.  If you have a parameter used in a filter...

[City] in ?city?

...and you want to show the values the user selected on the report page...

ParamDisplayValue('city')

...the default format puts commas between the values:

Birmingham, Boston, Hamburg

Or could your question use a bit more detail?
Uploading a report spec (a simple one, using the GO Sales (query) package) that demonstrates what you have done so far would also be helpful.