we have a table that is created from a db query. We use the date/time stamps in this table to determine start/stop times for more detailed queries. The problem we are having is that sometimes the date/time stamps at the end of the table are not a 'matched' set. In this table, we have created formula columns that help us identify which dates are on which row. We know the pattern that we need to have: the last two rows in X_3 need to end in 1 then 0.
If(dt:X_3[NRow(dt)-1] == 0, dt<< deleteRows(NRow(dt)));
If(dt:X_3[NRow(dt)] == 1, dt<< deleteRows(NRow(dt)));
Is there a way to iterate only on the last row until the table has the desired structure?