# Calling the n'th from last item?

**URL:** <https://forum.bubble.io/t/calling-the-nth-from-last-item/225387>\
**Category:** Need help\
**Created:** [September 22, 2022, 8:24am UTC](https://forum.bubble.io/t/calling-the-nth-from-last-item/225387 "2022-09-22T08:24:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.alighanbari](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/a.alighanbari/32/124346_2.png) [@a.alighanbari](https://forum.bubble.io/u/a.alighanbari)\
**Post date:** [September 22, 2022, 8:24am UTC](https://forum.bubble.io/t/calling-the-nth-from-last-item/225387/1 "2022-09-22T08:24:31Z")

</div>

Hi everyone, quick question hopefully… Is there a way to call the n’th from last item when pulling data from a list? E.g., the 12th from last item?

I fully appreciate that we can call the n’th item via the ‘item#’ filter but this works from ‘top to bottom’. The lists I work with expand and contract. The starting point for the calculation is the last item, and the second number will be the 12th from last item…

Huge thanks in advance.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [September 22, 2022, 8:33am UTC](https://forum.bubble.io/t/calling-the-nth-from-last-item/225387/2 "2022-09-22T08:33:09Z")

</div>

Hi there, @a.alighanbari… you can sort the search in descending order by creation date and then get the 12th item, and that should produce the desired result.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![a.alighanbari](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/a.alighanbari/32/124346_2.png) [@a.alighanbari](https://forum.bubble.io/u/a.alighanbari)\
**Post date:** [September 22, 2022, 8:56am UTC](https://forum.bubble.io/t/calling-the-nth-from-last-item/225387/3 "2022-09-22T08:56:18Z")

</div>

Hey @mikeloc thanks for the tip, that also crossed my mind. Was looking for an n’th from last equivalent to avoid rewriting the formulas 😄 but think it’s the best solution… Thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [December 1, 2022, 8:24am UTC](https://forum.bubble.io/t/calling-the-nth-from-last-item/225387/4 "2022-12-01T08:24:31Z")

</div>

Closed on December 1, 2022, 8:24am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
