If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Accessing child memebers from prompt page

Started by suhas_bhat, 08 Sep 2010 01:06:06 AM

Previous topic - Next topic

suhas_bhat

Hi,
  I am using a dimensional package and have a requirement to display the child member of the value selected in prompt page.
I tried addding filter
[cube].[dimension].[hierarchy] = (firstChild(?param_name?))
but i get an error message when i run the report
i.e. Invalid prompt use was found in expression="firstChild(?Param_name?)". Error processing filter 'members([cube].[dimension].[hierarchy]) = firstChild(?Param_name?)'
btw the source for the prompt is the hierarchy itself.
Any suggestions??

MFGF

Hi,

It looks to me like you are attempting to use a relational reporting technique (detail filter) on a dimensional source, which is really not a good idea.

Instead of adding a filter, try adding a Query Calculation to your report (crosstab?) with the expression

firstChild([cube].[dimension].[hierarchy] -> ?param_name?)

Does this give you the desired result?

MF.
Meep!

suhas_bhat