PipelineDealsMovements
Returns deal movement statistics for a pipeline over a specified time period, including counts and values for new, won, lost, and open deals.
View-Specific Information
SELECT
The provider uses the Pipedrive API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client-side within the provider.
| Column | Supported Operators |
| PipelineId | = |
For example, the following query is processed server-side:
SELECT * FROM PipeLineDealsMovements WHERE PipelineId = 4
Columns
| Name | Type | References | Description |
| PipelineId | Integer | The unique identifier of the pipeline whose movement statistics are returned. | |
| AverageAgeInDaysAcrossAllStages | Integer | The average number of days deals spend across all stages in the pipeline during the period. | |
| AverageAgeInDaysByStages | String | The average number of days deals spend in each individual stage, broken down per stage. | |
| DealsLeftOpenCount | Integer | The number of deals that remained open at the end of the period. | |
| DealsLeftOpenDealsIds | String | The IDs of deals that remained open at the end of the period. | |
| DealsLeftOpenFormattedValues | String | The formatted values of deals that remained open at the end of the period, by currency. | |
| DealsLeftOpenValues | String | The raw values of deals that remained open at the end of the period, by currency. | |
| LostDealsCount | Integer | The number of deals marked as lost during the period. | |
| LostDealsDealsIds | String | The IDs of deals marked as lost during the period. | |
| LostDealsFormattedValues | String | The formatted values of deals marked as lost during the period, by currency. | |
| LostDealsValues | String | The raw values of deals marked as lost during the period, by currency. | |
| MovementsBetweenStagesCount | Integer | The total number of times deals moved between stages during the period. | |
| NewDealsCount | Integer | The number of new deals added to the pipeline during the period. | |
| NewDealsDealsIds | String | The IDs of new deals added to the pipeline during the period. | |
| NewDealsFormattedValues | String | The formatted values of new deals added during the period, by currency. | |
| NewDealsValues | String | The raw values of new deals added during the period, by currency. | |
| WonDealsCount | Integer | The number of deals marked as won during the period. | |
| WonDealsDealsIds | String | The IDs of deals marked as won during the period. | |
| WonDealsFormattedValues | String | The formatted values of deals marked as won during the period, by currency. | |
| WonDealsValues | String | The raw values of deals marked as won during the period, by currency. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data 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 |