Hello,
My data table contain 90 days of data (e.g 03/01/2022 to 03/04/2022).
(The min & max date are not fixed because my source file will be updated daily with latest 90 days from today)
I only need latest 30 days of data in my data table for 1 type of analysis.
(e.g I want to retain rows with date from min=03/03/2022 to max=03/04/2022)
So, I want to select rows with End date > 30 days & delete it.
I used lines as below but it didn't work.
//Remove data with End date < Today - 30 days (not required for analysis)
Current Data Table() << Row Selection( Select where( :End date < (Today () - in days(30) ))) << delete rows;
I check the log, it shows that the line is scriptable but I don't see any changes on my data table.
Any advice?
I'm using JMP15