# Add these values

**URL:** <https://community.dynatrace.com/t/add-these-values/43518>\
**Category:** DQL\
**Tags:** dql\
**Created:** [January 9, 2024, 2:14pm UTC](https://community.dynatrace.com/t/add-these-values/43518 "2024-01-09T14:14:22Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 11, 2024, 11:02am UTC](https://community.dynatrace.com/t/add-these-values/43518/13 "2024-01-11T11:02:22Z")

</div>

Try this :

```markup
const processedResults: MetricResult[] = metricQuery.result[0].data.map(result => {
return {
"Service Name": result.dimensionMap["dt.entity.service.name"],
"Service ID": result.dimensionMap["dt.entity.service"],
"Tag": $Tags_PlanningAndStability, 
"Failure Rate": +result.values
};
};

```

On the other hand, to improve the rereading of your code, you should indent it

---

_[View the full topic](https://community.dynatrace.com/t/add-these-values/43518)._
