Restructure : Unstack by Time Interval
Unstack dataset based on the specified time interval.
Minimum Origin Version Required: Origin 2024b
1. wtsunstack -r 2 time:=[Book1]Sheet1!C"Time" data:=[Book1]Sheet1!E"Original Value" bucket:=month start:=10 end:=20 label:="Month=MMM" timefmt:=MM/dd/yyyy;
Please refer to the page for additional option switches when accessing the x-function from script
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Source Time | time |
Input Range |
|
Specify the range that will be used as the time source of Time Interval |
| Source Data | data |
Input Range |
|
Specify the range of data values to be unstacked. |
| Time Interval | bucket |
Input int |
|
Specify time interval. Option list:
|
| Start Value | start |
Input string |
|
Specify the start time value for each unstacked group.
|
| End Value | end |
Input string |
|
Specify the start time value for each unstacked group.
|
| Output | ow |
Output Worksheet |
|
Specify where to output result table. |
| Additional Label Row(s) | label |
Input string |
|
Add Label Rows for the year/ month/ date/ hour/ minute etc. value.
For example: Year=yyyy|Month=MMM |
| Output Date/Time Column Format | timefmt |
Input string |
|
Add Label Rows for the year/ month/ date/ hour/ minute etc. value.
For example:
|