All of the metrics on a template are placed together in a single template unit (using interface IDSSTemplateMetrics). This interface is a collection of IDSSTemplateMetric objects, one object for each metric.
Public Member Functions | |
HRESULT | Alias ([in] BSTR Alias) |
Optional metric alias used on the template. | |
HRESULT | Alias ([out, retval] BSTR *pAlias) |
Optional metric alias used on the template. | |
HRESULT | EvaluationOrder ([in] Int32 EvaluationOrder) |
Specifies when this unit is evaluated w. | |
HRESULT | EvaluationOrder ([out, retval] Int32 *pEvaluationOrder) |
Specifies when this unit is evaluated w. | |
HRESULT | Index ([in] Int32 Index) |
The metric's position in the metrics collection on this template. | |
HRESULT | Index ([out, retval] Int32 *pIndex) |
The metric's position in the metrics collection on this template. | |
HRESULT | IsDecomposed ([in, defaultvalue(DssDecomposableDefault)] EnumDSSDecomposable IsDecomposed) |
Whether the metric should be viewed as a composition of simpler metrics when calculating subtotals. | |
HRESULT | IsDecomposed ([out, retval] EnumDSSDecomposable *pIsDecomposed) |
Whether the metric should be viewed as a composition of simpler metrics when calculating subtotals. | |
HRESULT | MakeCurrentElement () |
Make this TemplateMetric to be the current element. | |
HRESULT | Metric ([in] IDSSMetric *pMetric) |
The metric itself. | |
HRESULT | Metric ([out, retval] IDSSMetric ppMetric) |
The metric itself. | |
HRESULT | MetricExports ([out, retval] IDSSExports ppExports) |
Exports into the metric property. | |
HRESULT | MetricLimit ([out, retval] IDSSExpression ppMetricLimit) |
A (possibly empty) filter expression applied to this metric. | |
HRESULT | MetricPrompt ([in] IDSSPrompt *pPrompt) |
Prompt property that can be used to set the metric property. | |
HRESULT | MetricPrompt ([out, retval] IDSSPrompt ppPrompt) |
Prompt property that can be used to set the metric property. |
|
Optional metric alias used on the template. Alias is a string property. The purpose of the property is to allow the designer to rename a metric on this template. It is an optional property. If it is not set, it defaults to the real name of the metric.
|
|
Optional metric alias used on the template. Alias is a string property. The purpose of the property is to allow the designer to rename a metric on this template. It is an optional property. If it is not set, it defaults to the real name of the metric.
|
|
Specifies when this unit is evaluated w. r.t. subtotals, other units etc.. EvaluationOrder is a numeric property. It records at what point in the evaluation of the items on this template this metric is evaluated.
|
|
Specifies when this unit is evaluated w. r.t. subtotals, other units etc.. EvaluationOrder is a numeric property. It records at what point in the evaluation of the items on this template this metric is evaluated.
|
|
The metric's position in the metrics collection on this template. This property returns the index number of the metric among all the metrics appearing on this template. The metrics are indexed from one.
|
|
The metric's position in the metrics collection on this template. This property returns the index number of the metric among all the metrics appearing on this template. The metrics are indexed from one.
|
|
Whether the metric should be viewed as a composition of simpler metrics when calculating subtotals. This read-write property indicates whether the metric stored on the template unit should be viewed as a composition of simpler metrics when calculating subtotals.
|
|
Whether the metric should be viewed as a composition of simpler metrics when calculating subtotals. This read-write property indicates whether the metric stored on the template unit should be viewed as a composition of simpler metrics when calculating subtotals.
|
|
Make this TemplateMetric to be the current element. Make this TemplateMetric to be the current element.
|
|
The metric itself. The metric that appears in this object. It is persisted using its ObjectID.
|
|
The metric itself. The metric that appears in this object. It is persisted using its ObjectID.
|
|
Exports into the metric property. This is a collection interface. It contains exports from this object into the metric object. It is not used to export prompts into the MetricPrompt property (use MetricPrompt.ExportsToPrompt to do this).
|
|
A (possibly empty) filter expression applied to this metric. A metric limit is a filter expression associated with a metric on the template. The SQL engine applies this filter, in addition to any global filter, when retrieving data for this metric to put it on the template. The reason to have a metric limit is to let users specify a different filter for each metric on the template. Also it can be more convenient to let the filtering appear in the template, rather than in the report definition's filter, or in the metric itself as conditionality.
|
|
Prompt property that can be used to set the metric property. MetricPrompt is a read-write prompt-valued property that can be used to define the metric property.
|
|
Prompt property that can be used to set the metric property. MetricPrompt is a read-write prompt-valued property that can be used to define the metric property.
|