I need to create the desired output table as shown in screen shot. I am not sure how this can be achieved with the data I have.
In the desired output, I need to get the latest value based on timestamp and id which is shown as installed (latest values) column.
In the value1(cumulative sum) field it should be sum of the values1 column values by each id across all the timestamps. For example: ID: sdgfd , installed latest value is july 23 which has a values of 195 and for value1(cumulative field) it should be sum of cells from D3:D6.