display the last created row

I want to display only the last created row and not all the rows. I’m using a list, and I’m using this formula: ‘getByIndex(reverse(collections[‘eb88b53b-2799-4bb2-983d-6a3292bfaef1’]), 0)’ which retrieves the desired value correctly, but the list appears as ‘empty’.

Add a created_at timestamp to your data source, and then simply order by created_at, if you want to do it like you did. You need to wrap your response in [array brackets], you can bind only arrays, now you’re returning an object.

Hi @Joailys :wave:

I think the issue is that you are trying to bind an object to a container that expects an array.

You only want to display the item that is displayed in your screenshot, right?

CleanShot 2023-11-09 at 10.14.59@2x

How do you want it to look on the page?

I recorded a video of potential solutions for you. Let me know if it helps. It’s 10 minutes long and I ramble a bit but hopefully you get some value out of it! :smile: