The option MeasureName that you use on meters is a special case, where you just use the name of the measure without [brackets]. MeasureName isn't going and "getting" the value of the measure as such, but is "binding" the measure to the meter. The end result is the same, but that is just how meters work.chilio wrote:So if I understand this correctly:
- In case of formula, one may choose to use brackets
- Any other case: use brackets.
But here they shouldn't be used?
How does this work?
The only other times you don't use the [brackets] is when an option is designed to assume that any reference to a measure name is unambiguously the number value of the measure. That is two cases:
1) In the Formula option of a Calc measure.
2) In an IfCondition test on any measure.
In all other cases, you will need to use [brackets] around the [MeasureName] to indicate that you want to "go get" the value of the measure. Note that [MeasureName] will return the string value of the measure, and [MeasureName:] will return the number value. In ALL cases where you use a [MeasureName] in an option, you must use DyanmicVariables=1 on the measure or meter using the [MeasureName].