Example of a dynamic calculated slice element
You might use a calculated element to
sum the values of the elements in a hierarchy. If you enable users to choose the
hierarchy then the calculated element must be dynamic.
This topic is an example of how to create a dynamic calculated element on a slice. This example uses the OLAP metadata hierarchy of the Sample application to display the dimensions of the Analysis cube in a combo box. When you select a dimension, the report displays the value for each element in the hierarchy. In addition, the calculated element displays the sum of all the values.