COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: bvk.cognoise on 22 Mar 2011 03:53:40 AM

Title: can we assign caliculated column to value prompt?
Post by: bvk.cognoise on 22 Mar 2011 03:53:40 AM
HI all,

can we assign calculated column to value prompt?
what i mean is i created a calculated column 'RANK'
can i show the "RANK" values in the value prompt?
please tell me the way to show  calculated column values in value prompt?

thanks in advance


vamsi
Title: Re: can we assign caliculated column to value prompt?
Post by: Gopinath on 22 Mar 2011 06:45:07 AM
Yes we can. Assign the calculated column to the Display Value property of the value prompt
Title: Re: can we assign caliculated column to value prompt?
Post by: bvk.cognoise on 22 Mar 2011 07:11:38 AM
thanks gopi for ur reply ,

yes we can assign calculated column to value prompt  i know that.but i want show the values of calculated column in value prompt.how can we do that?

thanks
vamsi
Title: Re: can we assign caliculated column to value prompt?
Post by: Gopinath on 22 Mar 2011 08:16:02 AM
Vamsi,

When you assign a calculated column to the Display value property of a value prompt, it will show the values of calculated column in value prompt.
Title: Re: can we assign caliculated column to value prompt?
Post by: bvk.cognoise on 22 Mar 2011 11:23:02 PM
gopi

i crated a value prompt.i assigned my calculated column to that prompt as display value.when  i run the report its showing only one value that is '1' but in that calculated column i have '100' values.its showing only one value.
Title: Re: can we assign caliculated column to value prompt?
Post by: PRIT AMRIT on 22 Mar 2011 11:27:48 PM
Create a separate query and then create the calculated item in it.

Then assign the new query and calculated item to your value prompt.

Hope this should do?

Thanks
Prit
Title: Re: can we assign caliculated column to value prompt?
Post by: bvk.cognoise on 23 Mar 2011 12:42:17 AM
sorry Prit still its not working.still its showing only one value.
Title: Re: can we assign caliculated column to value prompt?
Post by: Gopinath on 23 Mar 2011 12:20:01 PM
check the Tabular data of your prompt query whether your calculated field display all 100 values