Creates a new instance of the Reports.EvaluatedConditions class using the specified parameters.
Signature
public EvaluatedCondition(String aggregateName, String
aggregateLabel, Double compareToValue, Double aggregateValue, String displayCompareTo,
String displayValue, Reports.EvaluatedConditionOperator operator)
Parameters
- aggregateName
- Type: String
- The unique API name of the aggregate.
- aggregateLabel
- Type: String
- The localized display name of the aggregate.
- compareToValue
- Type: Double
- The value that the aggregate is compared to in the condition.
- aggregateValue
- Type: Double
- The actual value of the aggregate when the report is run.
- displayCompareTo
- Type: String
- The value that the aggregate is compared to in the condition, formatted for display.
For example, a display value for a currency is $20.00 or USD20.00 instead of 20.00.
- displayValue
- Type: String
- The value of the aggregate when the report is run, formatted for display. For example,
a display value for a currency is $20.00 or USD20.00 instead of 20.00.
- operator
- Type: Reports.EvaluatedConditionOperator
- The operator used in the condition.