PipelineDealsMovementsAverageAgeInDaysByStages
Returns statistics for deals movements for given time period average age in days.
Select
The add-in will use the Pipedrive API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the add-in.
- PipelineId supports the '=' operator.
- UserId supports the '=' operator.
- StartDate supports the '=' operator.
- EndDate supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM PipelineDealsMovementsAverageAgeInDaysByStages WHERE StartDate='2022-05-18' and EndDate='2023-05-18'
Columns
| Name | Type | References | Description |
| PipelineId | Integer | ID of the pipeline. | |
| StageId | Integer | AverageAgeInDaysAcrossAllStages. | |
| Value | Integer | AverageAgeInDaysAcrossAllStages. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
| Name | Type | Description | |
| UserId | Integer | ID of the user who's pipeline statistics to fetch. | |
| StartDate | Datetime | Start of the period. Date in format of YYYY-MM-DD | |
| EndDate | Datetime | End of the period. Date in format of YYYY-MM-DD |