# CRM analysis

{% hint style="info" %}
User permission: CRM

The CRM analysis database in only available in the **desktop version** of CRM.
{% endhint %}

The CRM analysis database opens in the [Analytics module](https://app.gitbook.com/o/U7I5eMnPmDGlzutOZw9D/s/itAvDF3MljQXV0rjHRP7/). If you have permission, it appears on your homepage with other databases and in the **Analytics** menu.

The CRM analysis database is often tailored to suit individual businesses. You might need to contact your administrator to gain access to the CRM database. See [Databases](https://app.gitbook.com/s/7pj8v25BOyqZTdG5mdD1/dashboards) to learn more.

A standard CRM analysis database is similar to any other database in Phocas, but instead of seeing value, profit or quantities, you see the number of activities for accounts, contacts and leads.

Typically, full details can be viewed using [Transaction mode](https://app.gitbook.com/s/itAvDF3MljQXV0rjHRP7/customize-your-view-analytics/change-the-mode/transaction-mode), where you can change the properties as required. &#x20;

<div align="left"><figure><img src="https://4133978327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1DdwWAKI55yCxN4CVAUT%2Fuploads%2FeySLS0hgdVQyYGqCFPmm%2FScreenshot%202025-09-18%20at%2013.49.46.png?alt=media&#x26;token=c35bd443-c7ea-4047-9726-8ccf9780a787" alt=""><figcaption></figcaption></figure></div>

<details>

<summary>Example: Find accounts that have had no activity over the last 12 months</summary>

1. Open the CRM analysis database.
2. Select a period and a dimension, such **Rolling 12 Months** and **Campaign**.
3. Change the activity filter to **No Activity**. All campaigns with no recorded activity display in the grid, highlighted in green.<br>

   <figure><img src="https://4133978327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1DdwWAKI55yCxN4CVAUT%2Fuploads%2FJV5weCVyhVBpnIARQeiJ%2FScreenshot%202025-09-18%20at%2013.53.13.png?alt=media&#x26;token=056f7a9b-a5ec-40bf-8555-cf2635e66451" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Example: Create a dashboard that compares Sales Activity to Sales Value</summary>

First, [create a new dashboard](https://docs.phocassoftware.com/basics/dashboards/create-a-dashboard) called **Sales vs Activity in the last three months***.* After you select **Save**, a new blank dashboard opens.

Next, create an activity bar chart using data from the CRM analysis database:

1. On the new dashboard, select **Add widget** > **Query**. The widget configuration screen has a database selection on the top-right and widget settings on the left. The Phocas grid appears inside the screen and operates as usual.
2. In the top-right, select the CRM database.
3. Select a period (this example uses Last 3 months).
4. Select **Mode** > **Total**. &#x20;
5. Select the **Chart** button.
6. Select the Column chart and enter a name for the chart (in this example the name is Activity last 3 months).
7. Select **Save**. The chart displays on the dashboard.<br>

   <div align="left"><figure><img src="https://4133978327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1DdwWAKI55yCxN4CVAUT%2Fuploads%2FsipMOrRM0S3UU84HhiBn%2FCRManalysis1.gif?alt=media&#x26;token=a9f355bf-4672-4e2f-88f0-cc188d4f28ed" alt=""><figcaption></figcaption></figure></div>

Next, create a sales value chart using data from the Sales database.

1. On the new dashboard, select **Add widget** > **Query**.&#x20;
2. Select the Sales database.
3. Select a period (match it to the period used in the activity chart).
4. Select **Mode** > **Total**. &#x20;
5. Click the **Chart** button.
6. Select the Column chart, enter a name for the chart (in this example the name is Sales last three months) and place it on the same line as the previous chart (in this example, Line 0).
7. Click **Save**. The chart displays on the dashboard.

   <div align="left"><figure><img src="https://4133978327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1DdwWAKI55yCxN4CVAUT%2Fuploads%2F2QldwKSHMbcpq6EJslyW%2FCRManalysisexample22.gif?alt=media&#x26;token=eb0cf609-fd45-4cb5-9f57-ba20594fea3c" alt=""><figcaption></figcaption></figure></div>

Now you can view your dashboard. The charts sit side by side so you can compare sales activity with sales value for the same period. In this example, the link between activity and sales is not clear. Activity levels are about the same across the three months, but sales values vary a lot. This would be something to follow up with the sales team.

<img src="https://4133978327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1DdwWAKI55yCxN4CVAUT%2Fuploads%2Fi5xqvtblWtog30lLLSl8%2FScreenshot%202025-09-25%20at%2014.59.29.png?alt=media&#x26;token=1a8d3962-7e5f-4f83-91cf-c5acde01d926" alt="" data-size="original">

</details>

{% embed url="<https://phocassoftware.wistia.com/medias/vi35k0lmbi>" %}
The CRM analysis dashboard
{% endembed %}
