# Painless script for inventory of previous week

**URL:** <https://discuss.elastic.co/t/painless-script-for-inventory-of-previous-week/308209>\
**Category:** Kibana\
**Tags:** painless\
**Created:** [June 27, 2022, 5:26am UTC](https://discuss.elastic.co/t/painless-script-for-inventory-of-previous-week/308209 "2022-06-27T05:26:40Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 28, 2022, 8:01am UTC](https://discuss.elastic.co/t/painless-script-for-inventory-of-previous-week/308209/10 "2022-06-28T08:01:05Z")

</div>

It'd be great if you could please not create multiple topics on the same question. It looks like you have a solution here, so let's close this one - [Difference between today's sales and yesterday's sales](https://discuss.elastic.co/t/difference-between-todays-sales-and-yesterdays-sales/308223)

---

_[View the full topic](https://discuss.elastic.co/t/painless-script-for-inventory-of-previous-week/308209)._
