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.MetricSetsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxFormulaMetricSet 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 FormulaMetricSet
- The formula metric set.
- measure MeasureUsage
- The measure element.
- dependencies IEnumerableMetricSetUsage
- The metric set usage dependencies.
- statement String
- The formula statement.
Return Value
FormulaMetricSet
The update formula metric set entity.
Exceptions
See Also