Source: https://nishanth-fern-test.docs-staging.pageloop.ai/analytics/session-metrics-are-showing-the-same-data

# Session metrics are showing the same data

## Issue

When you use the [session metrics in Trend Insights](https://support.whatfix.com/product-analytics/docs/analyze-sessions-using-trend-insights), **Total number of sessions** and **Average number of sessions per user**, and break down the data by User ID, both metrics display the same values for each user.

**Visualized data:** Total number of sessions with user breakdown set as User ID.

![session\_metrics\_total\_number\_of\_sessions\_data.png](/images/f7/session_metrics_total_number_of_sessions_data-f73819f6.png)

**Visualized data:** Average number of sessions per user with user breakdown set as User ID.

![session\_metrics\_average\_number\_of\_sessions\_per\_user.png](/images/d8/session_metrics_average_number_of_sessions_per_user-d873e775.png)

As shown in the above screenshots, both metrics show the same data.

## Probable Cause

This behavior is expected based on how each metric is calculated:

- Total number of sessions represents the total session count for each user.
- Average number of sessions per user is calculated as:

**Total sessions** **÷** **Number of users**

When the User breakdown is set to User ID, each row in the data corresponds to a single user. Therefore, the number of users for each row is always 1.

Hence, **Total sessions for a user** **÷** **1 = Total sessions for that user**

This is why the two metrics appear identical, that is, they show the same session count for each user.

**Example:**

For <johndoe@abc.com>:

**Total sessions**: 259

**Number of users in this group**: 1

**Average sessions per user**: 259 ÷ 1 = 259

> [!WARNING]
>
> For more information on the descriptions of the session metrics, see [Analyze sessions using Trend Insights](https://support.whatfix.com/product-analytics/docs/analyze-sessions-using-trend-insights).

## Suggested Solution

To see meaningful differences between the two metrics, use a breakdown that groups multiple users together, such as Department, Region, or Role. This way, the average reflects how sessions are distributed across users in each group.

**Example**:

**Visualized data**: Total number of sessions with user breakdown set as Region.

![trends\_total\_number\_of\_sessions.png](/images/b0/trends_total_number_of_sessions-b0f12276.png)

**Visualized data**: Average number of sessions per user with user breakdown set as Region.

![trends\_average\_number\_of\_sessions\_per\_user.png](/images/12/trends_average_number_of_sessions_per_user-1260c0c8.png)

Use the User ID breakdown only when you want to see session data for each individual user.

> [!WARNING]
>
> If the issue persists, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Session%20metrics%20are%20showing%20the%20same%20data\&body=Hi%20team%2C%0A%0ATwo%20session%20metrics%20are%20showing%20the%20same%20data.%20Please%20help.%20%0AENT%20ID%3A).
