How to make a sub list of last data points form a data set

So I want the last 7 data points from a list.
This is how I solved it β†’

List:count-6 = Value A
List:item from#Value A
I stored Value A as an input

If there is any better way to do this please help. Thanks :slight_smile:

Hi there, @vasudevddn98… if I understand your post correctly, you can use the :items until # operator to achieve the desired result. Check it out and see if it meets your needs.

Best…
Mike

Edit: I missed the fact that you are using the :items from # operator already, but I still believe you can use the :items until # operator and get rid of the list count and Value A stuff.

Since it works you are ok there is nothing wrong with it!

We can also sort the data by creation date descending and then use item until: operator