# Lens - No results found

**URL:** <https://discuss.elastic.co/t/lens-no-results-found/353306>\
**Category:** Kibana\
**Tags:** visualisation\
**Created:** [February 14, 2024, 6:03pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306 "2024-02-14T18:03:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [February 14, 2024, 6:03pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/1 "2024-02-14T18:03:06Z")

</div>

Hello,

So I made a bar vertically stacked graph, when there's data it populates the graph based on the time interval.

This is expected behavior.

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

The problem is if there's no data then it shows "no results found", this is expected but is there a way to just show an empty graph?

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

The reason for this is seeing "No results found" make it seem like something is wrong with the data ingestion.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [February 14, 2024, 8:09pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/2 "2024-02-14T20:09:21Z")

</div>

Try to change data range, top-right corner.

---

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [February 15, 2024, 4:22pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/3 "2024-02-15T16:22:38Z")

</div>

Hey @Rios , yeah I understand data would show when you change it the time range to extend when it did capture data.  
For example,

The expected behavior:  
'last 24 hours' there is no data, the graph displays the first image.  
if I extend it to 'last 7 days', data will appear.

What I want:  
In the 'last 24 hours' although theres no data, I want to see an empty graph like the second image,

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 15, 2024, 6:23pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/4 "2024-02-15T18:23:36Z")

</div>

Hi @erikg

I don't the behavior you are looking for is supported.

If there is no data for that time range the No Results Found is the default behavior... And quite literally accurate:)

Not sure about a workaround

---

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [February 15, 2024, 11:30pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/5 "2024-02-15T23:30:59Z")

</div>

thanks @stephenb for confirming,

I think the default behavior doesn't help with the presentation of the dashboard.  
"No Results Found" can be vague, our users believe it looks like something is broken. If there's no data, why not just show an empty graph?

Thanks,  
Erik

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 16, 2024, 12:20am UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/6 "2024-02-16T00:20:25Z")

</div>

> [@erikg](#):
>
> "No Results Found" can be vague, our users believe it looks like something is broken. If there's no data, why not just show an empty graph?

Hi @erikg

I am not necessarily disagreeing, I am just stating why and how it is currently designed.

Please absolutely open a Feature Request / Issue on the Kibana github repo perhaps it is something the team will take up.

> **[Issues · elastic/kibana](https://github.com/elastic/kibana/issues)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [February 16, 2024, 2:35pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/7 "2024-02-16T14:35:42Z")

</div>

my bad, I get a little too passionate.  
Here's my github request, for anyone  
[[Lens] Improve "No Results Found" Line/Bar/Area Graphs · Issue #177100 · elastic/kibana (github.com)](https://github.com/elastic/kibana/issues/177100)

---

<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:** [March 15, 2024, 2:36pm UTC](https://discuss.elastic.co/t/lens-no-results-found/353306/8 "2024-03-15T14:36:19Z")

</div>

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