 Quarter (PQL)
 Quarter (PQL)
                                    Returns the full quarter (with year) from a date-time
- Returned Output: Text
- Library: PQL \ Common \ Date-Time
- Version: 2023.02.000
- Compatibility: - Can be combined with and other PQL function throughout the application.
- It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
 
Syntax
Quarter( <Date-Time> )
                                    
                                    * Click on the function's arguments above for more details on the input values.
Comments
Examples
This example returns a column with the quarter (year and quarter number) of each date-time item in the Order Date column.
Quarter( [Data].[OrderDate] )
You can see the effect from this example snippet in column #3, based on the original date column in position #1.
            