SUMMARY:
There might be cases in which some issues are encountered when trying to perform certain actions in a metric in a VI dashboard, whether the feature that is trying to be used does not apply correctly or the results are not the expected.
SYMPTOM:
The following issues have been encountered and reported when using a string as metric:
STEPS TO REPRODUCE:
Sum function doesn’t work for derived metrics
Sum([Metric String]){~+, [Attribute 2]+}
Setting a threshold on a derived metric using the max function
Max([Metric Number]){~+}


CAUSE:
The root cause of the issues mentioned above is the data type of the metric being used (Text).
In order to determine if the issue being experienced has to do with the data type, you can verify whether the metric is String, and are described below:
Select the dropdown for the metric and go to “Change Data Type”, if “Text” is chosen, the data type is String.
Metric+1
ToNumber([Metric String])