YEARQTR(A)
- 1 Minute to read
- Print
- DarkLight
- PDF
YEARQTR(A)
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Date Transform: YEARQTR(A)
Extract the Year and Quarter from Date A in the format YYYYQ
Purpose
Use this function to:
- Segment Transaction data into yearly quarters
Return Value
Property | Value |
---|---|
FieldType | Integer |
FieldSize | Med |
DataType | Discrete |
DataSize | Short |
Example Return Value: 20211,20191,20203
Parameters
Parameter | JSON | Description |
---|---|---|
Table | “targetTable”: “MyTableName” | The target table on which the new field will be created |
Filter | “dataset”: {DataSet_JSON} | Optional. If a filter is applied, records not in the filter Recordset will be returned as null. |
Date Function | “p1”: “YEARQTR(A)” | YEARQTR(A) |
A | “p2”: “DateTimeFieldName” “p2”: “DateFieldName” “p2”: “#YYYY-MM-DD HH:MM:SS” “p2”: “#YYYY-MM-DD” | Required. The date from which to extract the year and the quarter Supports:
|
JSON Sample
Usage Notes
{Insert Notes Here}
Example
Example | Details |
---|---|
Description | Segment transaction data into yearly quarters |
Input |
|
Sample |
Was this article helpful?