Need help with PA Scripts to group the String field records
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 08:15 AM
Hello Community,
I have a requirement to add a Breakdown of the field called value, which is located on the incident_metric table. The below script doesn't work and needs help. I have created a Bucket group and added them under the breakdown sources, yet it is not collecting the records when the job is executed. The job run was successful, but there are no scores at the indicator level.
Breakdown source:
bucket groups:
pa_scripts:
var checkValue = function(mi_value) {
if (mi_value == "Yes") return 0;
else return 1;
};
checkValue(current.mi_value.toString());
#performanceAnalytics #PA
Labels:
- Labels:
-
Performance Analytics
0 REPLIES 0