# Inline List Limit to Last (n) entries

**URL:** <https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625>\
**Category:** Feature Requests\
**Created:** [January 15, 2020, 2:48pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625 "2020-01-15T14:48:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [January 15, 2020, 2:48pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/1 "2020-01-15T14:48:17Z")

</div>

**I know you can do this through Spreadsheet Magic. But this is the Feature Request forum and I would love for Glide to have an option.**

I would like to have the ability to limit my inline list to the last (n) entries.

Together with SORT, this could be good to show the last **week** of events for example.

Or the last 5 votes from a form.  
See this app and choose the “Latest” sort. [https://ojek4.glideapp.io](https://ojek4.glideapp.io)  
It will show ALL of them, but I would like to be able to tell Glide to take the last 5 while sorting the sheet by timestamp.  
So I did some Spreadsheet Magic to show the Last 5. (Choose that from the list)

I have a mileage tracker app, and I have done the Spreadsheet Magic to get it to show the last week of my mileage entries. But I would prefer to be able to just say, show the last 10 entries or so in glide…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/3/3907d8decb902c8e3134e2df2862fd9e95618c4b.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 15, 2020, 3:13pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/2 "2020-01-15T15:13:32Z")

</div>

Or the first (n) number. 🙂

---

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [January 15, 2020, 3:30pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/3 "2020-01-15T15:30:59Z")

</div>

Ha! Good point.

I was figuring with the sorts the last and first would be reversed/interchangeable. Maybe?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 15, 2020, 3:34pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/4 "2020-01-15T15:34:44Z")

</div>

Potentially. I was thinking of a situation with sorting alphabetically and displaying the first 5. Otherwise it would be sorted Z-A and showing the last 5 would be in. E, D, C, B, A order.

---

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [January 15, 2020, 5:56pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/5 "2020-01-15T17:56:59Z")

</div>

This gets me wondering if you could just a random ONE of the items in a list.

Using the Sort (random) and just showing the ONE.

(Again, I did it using spreadsheet magic here: [https://azm1b.glideapp.io](https://azm1b.glideapp.io)

There is a button to Update the app, it only submits the timestamp to a sheet, thus choosing a different RANDOM verse from a list.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 15, 2020, 6:20pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/6 "2020-01-15T18:20:06Z")

</div>

I’ve though a single list item combined with random sorting could make for a quick and dirty ad banner.

---

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [January 15, 2020, 10:19pm UTC](https://community.glideapps.com/t/inline-list-limit-to-last-n-entries/3625/7 "2020-01-15T22:19:05Z")

</div>

This is what I am thinking: [https://vt4rt.glideapp.io](https://vt4rt.glideapp.io)
