Hello, What I want to get a table with all fields populated with their last values by time range. For each form I have a field called Created also the field Product that can be filled later or can be left empty. I want to calculate with form has a product value or are empty to get a total percentage. For a time range let's say Created date goes from Nov 1 to Nov 7 the field Product shows empty, but if I add more day at time range like going ahead it gets populated properly, how can I get this last value when taking in count that I just want results within time range Nov1-7 (time range picker), here what I have until now: index=main | eval _time=strptime(Created,"%Y-%m-%d %H:%M:%S") | addinfo | where ((_time >= info_min_time) AND (_time=="+Infinity" OR _time<=info_max_time)) | stats latest(Created) as Created latest(Product) as Product values(Delivered) as Delivered last(Updated) as Updated by Code Code Created Product Delivered Updated 1 A89580 2020-11-02 15:56:20 2020-11-02 20:47:20 2 A23780 2020-11-03 21:18:37 2020-11-04 19:08:12 3 A23826 2020-11-03 21:20:58 2020-11-06 21:21:35 4 A23900 2020-11-03 21:25:05 2020-11-06 21:25:19 If I extend the time range: shows all values for Product and Delivered date I modified last(Update) for values(Update) I can see all the time range for each Code. Just to clarify Product and Delivered fields are independent one of another; after is Delivered, Product can be filled or left empty. Code Created Product Delivered Updated 1 A89580 2020-11-02 15:56:20 PPA89580 2020-11-13 19:39:01 2020-11-02 15:56:24 2020-11-02 19:21:34 2020-11-02 20:47:20 2020-11-10 13:13:06 2020-11-13 19:39:01 2020-11-14 20:01:49 2 A23780 2020-11-03 21:18:37 PPA23780 2020-11-10 02:22:47 2020-11-03 21:18:51 2020-11-04 19:08:12 2020-11-07 19:08:18 2020-11-10 02:19:48 2020-11-10 02:22:47 2020-11-11 03:00:36 3 A23826 2020-11-03 21:20:58 PPA23826 2020-11-12 20:34:07 2020-11-03 21:20:58 2020-11-03 21:21:28 2020-11-06 21:21:35 2020-11-09 21:21:37 2020-11-12 17:56:48 2020-11-12 17:58:36 2020-11-12 20:34:07 2020-11-13 21:01:04 4 A23900 2020-11-03 21:25:05 PPA23900 2020-11-09 21:43:31 2020-11-03 21:25:15 2020-11-06 21:25:19 2020-11-09 13:07:25 2020-11-09 13:09:33 2020-11-09 21:43:31 2020-11-10 22:03:09 Assistance with this will greatly be appreciated. Thank you.
... View more