Hi…I am down a rabbit hole here on a complex automation. I have a data table with items similar to this:
I need to assign a sequence number based on different type and different date span. For example, the earliest extension would have sequence of 1, second extension would have sequence of 2. The earliest option would have sequence of 1, and so forth. I thought about indexing but having difficulty getting the indexes to take into account date as well as type. Thought maybe a LINQ? Anyone have any thoughts?
In order to get the correct order, I have this workaround in my mind to use the Rank Function on all 3 Columns and Sum all the Ranks that you get from these 3 and then sort it in ascending.
Solve this myself with filter and sort by date then (dt.rows.indexof(rows) +1).toString where the variable index is assigned to 0 with an output of the result to a row item variable…sometimes stepping away and sleeping helps one get out of a rabbit hole