# How to convert null value and empty value to "-"

**URL:** <https://discuss.elastic.co/t/how-to-convert-null-value-and-empty-value-to/300157>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [March 21, 2022, 5:57am UTC](https://discuss.elastic.co/t/how-to-convert-null-value-and-empty-value-to/300157 "2022-03-21T05:57:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vuhai\_fo4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vuhai_fo4/32/102993_2.png) [@vuhai\_fo4](https://discuss.elastic.co/u/vuhai_fo4)\
**Post date:** [March 21, 2022, 5:57am UTC](https://discuss.elastic.co/t/how-to-convert-null-value-and-empty-value-to/300157/1 "2022-03-21T05:57:49Z")

</div>

In my dashboard, I have many data empty value and null value. I want to change them to "-".  
Please recommend to me some solution for this case  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e7d9ef915e2fee6519ba7842480d0016250c0626.png)

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [March 21, 2022, 12:46pm UTC](https://discuss.elastic.co/t/how-to-convert-null-value-and-empty-value-to/300157/2 "2022-03-21T12:46:08Z")

</div>

if you work on aggregated data, you could use Lens Table visualization that uses '-' for most of the metrics.

 ![Screenshot 2022-03-21 at 13.45.39](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f87dd8cab3489887ce41be39ef42a10c7d590b5.jpeg)

---

<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:** [April 18, 2022, 12:46pm UTC](https://discuss.elastic.co/t/how-to-convert-null-value-and-empty-value-to/300157/3 "2022-04-18T12:46:53Z")

</div>

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