Question

How to get the last element of the list property

  • 23 November 2020
  • 1 reply
  • 42 views

Hey!

If I have list property that has items such as [item1, item2, item3, .. itemX], how could I get the last one?

With custom property I can pick the first item easily: List[0].
I can also fetch the length of the list: LEN(List)

However, MixPanel doesn’t seem to allow this: List[Len(List) - 1)

So, how could I select the last element from the list property?

Regards,
Frans


1 reply

Userlevel 6
Badge +3

@Frans-L 

Are you using JQL for this query?

Reply


Mixpanel