In my dataset of ‘Engine Hours’, I have the following information:
Engine# | Date Recorded | Hours |
---|---|---|
ABC123 | Jan 21, 2024 | 9,171 |
ABC123 | Dec 13, 2023 | 9,009 |
ABC123 | Oct 6, 2023 | 8,936 |
XYZ456 | Jan 8, 2024 | 5,543 |
XYZ456 | Nov 1, 2023 | 4,998 |
XYZ456 | Oct 10, 2023 | 4,002 |
In another set of data for ‘Engine’, I display the latest Engine Hours in a Workshop Object Table by linking it to the 'Engine Hours' objects with an aggregation on the property 'Maximum' to show the most recent recorded hours.
Engine# | Date Recorded | Latest Hours |
---|---|---|
ABC123 | Jan 21, 2024 | 9,171 |
XYZ456 | Jan 8, 2024 | 5,543 |
Now, I am looking to add a column that shows the average monthly usage over a rolling 3-month period. I believe this can be achieved using a Function-Backed Column, but I lack the knowledge of TypeScript to create it myself. I have tried searching for similar examples within Palantir Learning resources and online, but haven't found a solution yet.
Does anyone have a template or example code for a similar Function-Backed Column that I could use for this specific case?
Thank you!