On the
Calculation
Type page of the
New Member wizard,
select the type of calculation that you want to create: a simple calculation,
time analysis calculation, or a custom calculation. In this example,
a simple calculation is created.
On the
Simple
Calculations page, select the mathematical calculation
that you want to use in the calculated member from the list of radio
buttons. Next, select the measures that you want to use with the calculation.
In this example, the predicted and actual measures for the cube are
used in the formula. It is the difference between these measures that
the formula will calculate. Select
Next when
you are finished.
On the
General page of the
New Member wizard, enter the
measure name. In this example, the calculated measure is named PredAnDiff.
Select the format and solve order for the measure. When you are finished,
click
Next.
On the
Finish page of the
New Member wizard, a display
panel shows the metadata that is generated for the new calculated
member. Review the metadata. When you are finished, click
Finish to complete the
New Member wizard.
The new calculated member
PredAnDiff is now listed in the
Defined calclulated members list.
If needed, you can now
make changes to the PredAnDiff calculated member. On the
Calculations for Cube page, select the calculated member
and click
Next. This opens the
Edit a Calculated Member page. You can then modify the
measure name and formula. Select
Verify to
check the MDX code for errors and validate the code against the OLAP
server. If you click
Build Formula, the
Build Formula dialog box appears.
In the
Build Formula dialog box, you can modify the MDX code
with the help of an expression builder. You can also add MDX functions
and Data Source elements to the expression. Select
OK when you are finished editing the calculated member.