Restructure: Time Series Pivot...
Aggregate data based on a date-time column
Minimum Origin Version Required: Origin 2024
1. wtspivot -r 2 time:=[Book1]Sheet1!A"DATE" data:=[Book1]Sheet1!B"PRCP" rowsBucket:="3 Month: Quarter" rowsPeriod:=Year colsBucket:=Month;
2. wtspivot -r 2 time:=[Book10]Sheet1!A data:=[Book10]Sheet1!B rowsBucket:=Month rowsPeriod:=Year rowsStart:=Apr rowsEnd:=Jun colsBucket:=Week colsPeriod:=Month colsStart:=6 colsEnd:=7 method:=custom custom:="sum max";
Please refer to the page for additional option switches when accessing the x-function from script
Input
Range
string
Option list:
int
The time format of the Start is based on the specified Aggregation Interval.
The time format of the End is based on the specified Aggregation Interval.
String
Output
ReportData
This X-Function allows you to create a pivot table to visualize data summarization (of statistics) based on a date-time column