# Kibana Dashboard issue

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-issue/371058>\
**Category:** Kibana\
**Created:** [November 26, 2024, 3:49am UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058 "2024-11-26T03:49:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CM\_Liotta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cm_liotta/32/139472_2.png) [@CM\_Liotta](https://discuss.elastic.co/u/CM_Liotta)\
**Post date:** [November 26, 2024, 3:49am UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/1 "2024-11-26T03:49:04Z")

</div>

Hello all,

I am using a Lens to try and display the "Last value" of some data based on two included keys "processing" and "awaiting\_processing". I am using simple default formulas like `last_value(extra.processing)` and the visualization looks as desired when editing the lens

 ![Screenshot 2024-11-25 at 17.27.22](https://us1.discourse-cdn.com/elastic/original/3X/5/8/58f0561c9c7003edba450c1eaca08a5d99bf8219.png)

but different when viewing the lens outside of edit mode (like it is just counting the keys)

 ![Screenshot 2024-11-25 at 17.27.09](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6db49e29011adc4d5d3cb7e4518d5565d93b86a3.png)

Any insights into what I could be doing wrong? Thanks!

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [November 26, 2024, 5:11am UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/2 "2024-11-26T05:11:01Z")

</div>

Hello,

Welcome to the community.

Ideally there should not be any issue as i tried using last\_value for a particulars field & same was shown in Dashboard as well :

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

Could you please check/share the configuration once again when it is saved , it seems your configuration is not saved to last\_value when you are editing , try to save the changes and check ?

Thanks!!

---

<div class="post-metadata">

**Author:** ![CM\_Liotta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cm_liotta/32/139472_2.png) [@CM\_Liotta](https://discuss.elastic.co/u/CM_Liotta)\
**Post date:** [November 26, 2024, 5:56pm UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/3 "2024-11-26T17:56:53Z")

</div>

Thanks for the response! It looks like it is saved to `last value` for each field, but I certainly could be misunderstanding something

 ![Screenshot 2024-11-26 at 09.51.00](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7cf2b6033ba49e07b81056a1db7d6e78ec867c56.png)

The formula being applied is `last_value(extra.processing, kql='extra.processing: *')`

---

<div class="post-metadata">

**Author:** ![CM\_Liotta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cm_liotta/32/139472_2.png) [@CM\_Liotta](https://discuss.elastic.co/u/CM_Liotta)\
**Post date:** [November 26, 2024, 6:01pm UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/4 "2024-11-26T18:01:35Z")

</div>

I'm experiencing this with another Lens on the same dashboard as well. On other dashboards I do not see this problem 🤔 Could it be a dashboard configuration?

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [November 27, 2024, 5:45am UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/5 "2024-11-27T05:45:47Z")

</div>

Hello,  
Thanks for the update.  
We can try to use this lens on a new dashboard to rule out this issue.

---

<div class="post-metadata">

**Author:** ![CM\_Liotta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cm_liotta/32/139472_2.png) [@CM\_Liotta](https://discuss.elastic.co/u/CM_Liotta)\
**Post date:** [November 27, 2024, 5:10pm UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/6 "2024-11-27T17:10:21Z")

</div>

After more digging, it looks like in edit mode, the data comes from a dev db and in view mode it comes from prod 🤷

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [November 28, 2024, 5:37am UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/7 "2024-11-28T05:37:47Z")

</div>

Ohh weird. So in short the data you are able to see in View mode is correct.

---

<div class="post-metadata">

**Author:** ![CM\_Liotta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cm_liotta/32/139472_2.png) [@CM\_Liotta](https://discuss.elastic.co/u/CM_Liotta)\
**Post date:** [December 2, 2024, 6:50pm UTC](https://discuss.elastic.co/t/kibana-dashboard-issue/371058/8 "2024-12-02T18:50:58Z")

</div>

yes thanks!
