MetricSetAddDynamicMeasure Method  | 
 
            Adds a new dynamic measure to the current instance.
            
 
    Namespace: 
   Dundas.BI.Entities.MetricSets
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic MeasureUsage AddDynamicMeasure(
	string name,
	string description
)
Public Function AddDynamicMeasure ( 
	name As String,
	description As String
) As MeasureUsage
public:
MeasureUsage^ AddDynamicMeasure(
	String^ name, 
	String^ description
)
member AddDynamicMeasure : 
        name : string * 
        description : string -> MeasureUsage 
Parameters
- name
 - Type: SystemString
The dynamic measure name. - description
 - Type: SystemString
The dynamic measure description. 
Return Value
Type: 
MeasureUsageThe measure usage element.
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | The metric set is set for raw data retrieval, or there is no underlying cube, or the underlying cube has no measures. | 
See Also