# Can Data Explorer output be customized?

**URL:** <https://community.dynatrace.com/t/can-data-explorer-output-be-customized/49901>\
**Category:** Dashboarding\
**Tags:** data-explorer\
**Created:** [January 24, 2025, 6:29am UTC](https://community.dynatrace.com/t/can-data-explorer-output-be-customized/49901 "2025-01-24T06:29:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [January 24, 2025, 6:29am UTC](https://community.dynatrace.com/t/can-data-explorer-output-be-customized/49901/1 "2025-01-24T06:29:34Z")

</div>

is it possible to customize metric value to display in data explored.

for example if database state is 0&nbsp; , i want to display it as online . and based on other values to display values as “offline”, “recovery mode”&nbsp; etc.

---

<div class="post-metadata">

**Author:** ![stemos](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@stemos](https://community.dynatrace.com/u/stemos)\
**Post date:** [January 24, 2025, 7:24am UTC](https://community.dynatrace.com/t/can-data-explorer-output-be-customized/49901/2 "2025-01-24T07:24:11Z")

</div>

You can customize the output by leveraging the metric selector. Go to the [advanced mode](https://docs.dynatrace.com/docs/analyze-explore-automate/explorer/explorer-advanced-query-editor)&nbsp;of the Data Explorer. There you’ll see a query like `my_metric:splitBy():sort(value(auto,descending)):limit(20)`. You can use the partition operator to map the values to values of the dimension _state_. For example:

```markup
my_metric:splitBy():auto:partition("state",value("online",eq(0)),value("offline",eq(1)))

```

Note that the partition operator also works if the database state is a dimension of your metric. See&nbsp;[dynatrace-api/metric-example/metric-selector-cheat-sheet.md at master · Dynatrace/dynatrace-api · GitHub](https://github.com/Dynatrace/dynatrace-api/blob/master/metric-example/metric-selector-cheat-sheet.md#add-further-dimensions-to-the-result)&nbsp;for details.

---

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [January 25, 2025, 1:46pm UTC](https://community.dynatrace.com/t/can-data-explorer-output-be-customized/49901/3 "2025-01-25T13:46:37Z")

</div>

perfect work like charm
