I have a measurement with five minute entries that are a meter reading, I would like to calculate the usage to date so I just need to subtract the values of the first and last records for a selected time period.
Is there a nice Flux filter/method to reduce a table to just the first and last records so I can apply the difference() function?
Thanks so much, I was too focused on getting the table reduced to not notice this elegant solution. As you might tell I am just getting started with Flux and have much more to master.