I keep track of the dates for a number of steps in a workflow which is a single entry in a Glide table.
Create Date
Cancel Date
Complete Date
Close Date
Convert Date
Latest Note Date
I would like to have a “Last Activity Date” which would be the latest Date from this set of Column data. I can put them all in an Array but not sure if that helps. I could go through a series of “compares/ITE” which would get to an answer. Not sure if there is a better/simpler/more elegant way to accomplish this.
Not sure if this is optimal but it beats comparing a bunch of Dates against each other.
MakeArray() - Array can have 1 - 6 elements
SortArray() - seems to sort A-Z
ReverseArray() - gets latest date as the first item
SingleValue() - pulls the first/‘latest’ date
FormatDate() - make it pretty
convert Dates to a Number or Text using format “yyyymmdd” using a new Column (e.g. “newDate”). If your main goal is to know the latest or newest date, your conversion should be as a Number
Create a Rollup pointing to “newDate” column and select Minimum/ Maximum option to get what you want
Create an ITE column to compare “newDate” column value with Minimum/ Maximum value found by your Rollup. If there is a match write “true” to mark a result.