# How to add text with values to a dashboard?

**URL:** <https://discuss.elastic.co/t/how-to-add-text-with-values-to-a-dashboard/337366>\
**Category:** Kibana\
**Created:** [July 1, 2023, 10:48am UTC](https://discuss.elastic.co/t/how-to-add-text-with-values-to-a-dashboard/337366 "2023-07-01T10:48:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wpq](https://avatars.discourse-cdn.com/v4/letter/w/3da27b/32.png) [@Wpq](https://discuss.elastic.co/u/Wpq)\
**Post date:** [July 1, 2023, 10:48am UTC](https://discuss.elastic.co/t/how-to-add-text-with-values-to-a-dashboard/337366/1 "2023-07-01T10:48:10Z")

</div>

I would like to have in my dashboard a widget that says

> There are currently 200 people in 17 locations

The `200` and `17` would actually be numbers calculated from queries (number of records + filters).

Is this possible?

The closest one I found are Metrics, but they are not editable (the format is fixed)

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [July 3, 2023, 6:58am UTC](https://discuss.elastic.co/t/how-to-add-text-with-values-to-a-dashboard/337366/2 "2023-07-03T06:58:31Z")

</div>

You could use TSVB markdown for creating something like that. For example

Here I am using the count aggregation and I am giving the label total

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b65336f0c42e0416eac764d8a708a745e90bf5d.png)

and if I go to the Markdown tab I can do something like this

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0d4f282f04232fc98001f800d637d77e169cde10.png)

---

<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 31, 2023, 6:59am UTC](https://discuss.elastic.co/t/how-to-add-text-with-values-to-a-dashboard/337366/3 "2023-07-31T06:59:27Z")

</div>

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