{scrollbar} |
In O3 Designer you can define a group of parameters to use for:
The parameter uses default values, or values assigned during the build.
Defining a build parameter includes declaring:
Parameter values can be constants or expressions. If you use an expression, the value must begin with an = (equal sign).
You can use virtual fields operators and functions in the expression.
For example, you can define a parameter value as:
=today() |
In this case the parameter will be set to the current date.
You can also use previously defined build parameters in parameter values by referencing it as $parameterName$.
For example:
DIR=C:\O3 DIR2=$DIR$\files |
In this case, the value of DIR2 is C:\O3\files.
You can also use a previously defined build parameter in an expression which assigns value to another parameter. Note that you do not enclose the previously defined parameter in $ (dollar signs) when using a parameter within an expression
CURRENT_DATE=today() TOMORROW=AddDay(CURRENT_DATE, 1) |
You can refer to defined build parameters in a Text Data Source definition, or a SQL query by referencing it as $parameterName$.
For example:
SELECT * FROM Table WHERE date > $YESTERDAY$ |
During the cube build, parameter values are substituted. Values are either default values assigned in the model, or values reassigned during the build.
Use the General tab of the cube properties pane to define build parameters.
Note
You can also reassign parameter values during the build process by creating a file containing the new values in the format
<Parameter1Name>=<Parameter1Value> <Parameter2Name>=<Parameter2Value> <Parameter1Name>=<Parameter1Value> |
The values assigned in the model are substituted with the ones specified in the file. These can be constants or expressions.
{scrollbar} |