In GlideApps, how to get last entry replicated?

An approach that should work:

This image sums it up I think, this is what your columns might look like:

Another approach:

  • Create the array of elements
  • Reverse the array: your last element becomes the first with index 0
  • Slice the array between 0 and 1 (start at 0 to include index 0, end at 1 to exclude indexes beyond 1)
  • Turn the single array element returned into text (joined list column)

2 Likes