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

Dynamic lookup or dynamic expression evaluation in framework

Started by addicted2cognos, 21 Jul 2010 11:36:40 AM

Previous topic - Next topic

addicted2cognos

Is there a way to evaluate an expression dynamically in a calculated query item?

For example if we pass an expression within a prompt to the Fw, it needs to evaluate it and populate the query item with result of the expression.

Any help will be greatly appreciated!

CognosPaul

You're looking for a token prompt:

#prompt('Expression','token','running-total([Sales])')#

That's an optional prompt that will default to running the expression running-total([Sales]) if nothing is entered.