# Data Table Metrics Custom label

**URL:** <https://discuss.elastic.co/t/data-table-metrics-custom-label/237731>\
**Category:** Kibana\
**Created:** [June 19, 2020, 5:42am UTC](https://discuss.elastic.co/t/data-table-metrics-custom-label/237731 "2020-06-19T05:42:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pikonio](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@pikonio](https://discuss.elastic.co/u/pikonio)\
**Post date:** [June 19, 2020, 5:42am UTC](https://discuss.elastic.co/t/data-table-metrics-custom-label/237731/1 "2020-06-19T05:42:06Z")

</div>

I am using ELK stack version 7.7.1 and my data look like that  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a694a2fa9a3a4eec82ce0df0ef1d8187dd583f79.png)

I am trying to create a Data Table Visualization that has the following information

Date Range: each row shows a predefined period of time like (last year, last month, this month, last week, this week, yesterday)  
Total Uploads: the number of records for the give period of time  
Number of failed uploads: the number of records where `upload_success` == 1

I have manage to calculate anything I need but I am having really hard time to change the labels  
here is how my table looks like

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a094f847b327035a8a584561dc85bc8ba9f1d9b8.png)  
I would like if it's possible to replace the dates with text (last year, last month...etc) and the most important if I can change the columns name from `Overall Sum of Count` to something custom.

Here is my configuration

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/0/607dcda239d42b2fcea452d9c69fc3971e0eb672.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66525b1795777a9d13bd6dec86e6212b0fafe608.png)

---

<div class="post-metadata">

**Author:** ![pikonio](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@pikonio](https://discuss.elastic.co/u/pikonio)\
**Post date:** [June 19, 2020, 4:54pm UTC](https://discuss.elastic.co/t/data-table-metrics-custom-label/237731/2 "2020-06-19T16:54:18Z")

</div>

about renaming the column from `Overall Sum of Count` to something custom it looks like it's a regression issue that it doesn't exist on kibana version 6 and there are a few bug opened on github like this one [https://github.com/elastic/kibana/issues/69014](https://github.com/elastic/kibana/issues/69014). I mention a quick workaround on the following topic: [Custom Label field not available for MaxBucket aggregation](https://discuss.elastic.co/t/custom-label-field-not-available-for-maxbucket-aggregation/235045/3).  
I am still looking for any suggestions on how to rename the date ranges.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 17, 2020, 4:54pm UTC](https://discuss.elastic.co/t/data-table-metrics-custom-label/237731/3 "2020-07-17T16:54:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
