SMAVG Arguments - Aster Analytics

Teradata AsterĀ® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software
TargetColumns
[Optional] Specifies the names of the input columns for which the simple moving average is to be computed. Default behavior: The function copies all numeric input columns to the output table.
IncludeFirst
[Optional] Specifies whether to output window_size rows. Because the simple moving average for the first window_size rows is undefined, the function returns NULL values for those columns. Default: 'false'.
WindowSize
[Optional]
Specifies the number of previous values to include in the computation of the simple moving average. Default: 10.
The SMAVG function ignores case in schema names, table names, and column names. If such a name contains capital letters, you must surround the name with double quotation marks. For example: TargetColumns ('"City"', 'date')