IMetricSetServiceUpdateFormulaMetricSet Method |
Updates the statement for the specified measure element of a
FormulaMetricSet, using the provided formula statement.
New placeholders are generated using the elements of the dependent metric set usage objects.
Existing placeholders are not modified, while placeholders with captions not found in the statement are removed.
Namespace:
Dundas.BI.Entities.MetricSets
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax FormulaMetricSet UpdateFormulaMetricSet(
FormulaMetricSet metricSet,
MeasureUsage measure,
IEnumerable<MetricSetUsage> dependencies,
string statement
)
Function UpdateFormulaMetricSet (
metricSet As FormulaMetricSet,
measure As MeasureUsage,
dependencies As IEnumerable(Of MetricSetUsage),
statement As String
) As FormulaMetricSet
FormulaMetricSet^ UpdateFormulaMetricSet(
FormulaMetricSet^ metricSet,
MeasureUsage^ measure,
IEnumerable<MetricSetUsage^>^ dependencies,
String^ statement
)
abstract UpdateFormulaMetricSet :
metricSet : FormulaMetricSet *
measure : MeasureUsage *
dependencies : IEnumerable<MetricSetUsage> *
statement : string -> FormulaMetricSet
Parameters
- metricSet
- Type: Dundas.BI.Entities.MetricSetsFormulaMetricSet
The formula metric set. - measure
- Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The measure element. - dependencies
- Type: System.Collections.GenericIEnumerableMetricSetUsage
The metric set usage dependencies. - statement
- Type: SystemString
The formula statement.
Return Value
Type:
FormulaMetricSet
The update formula metric set entity.
Exceptions See Also