Source: https://nishanth-fern-test.docs-staging.pageloop.ai/analytics/how-can-i-exclude-filter-values-in-session-analysis

# How can I exclude filter values while analyzing sessions?

Sometimes, you might want to eliminate specific filter values and visualize data with all other filter values. Excluding a filter helps you focus only on the data required for analysis.

### Use case

Consider that you want to track the average session time spent in the application by all teams, except the Sales team.

**Data without the filter value excluded**: ![trends\_session\_remove\_department.png](/images/bc/trends_session_remove_department-bc6c1ec0.png)

**Data setup**: ![trend\_insights\_sessions\_filter\_value\_excluded\_setup.png](/images/a4/trend_insights_sessions_filter_value_excluded_setup-a4b65982.png)

**Session metric**: Average session time **User filter**: Department does not equal to Sales **User breakdown**: Department

**Data after the filter value is excluded**: ![trends\_session\_remove\_department\_with\_does\_not\_equal\_to.png](/images/1c/trends_session_remove_department_with_does_not_equal_to-1c1f1563.png)

Use the following steps to exclude filter values during session analysis:

1. On the [Whatfix Analytics dashboard](/analytics/how-can-i-access-the-product-analytics-dashboard), click **Insights**. ![pa\_click\_insights\_left\_pane.png](/images/8a/pa_click_insights_left_pane-8a8a32a5.png)

2. Click **Create Insight**. ![pa\_click\_create\_insight.png](/images/d7/pa_click_create_insight-d7964b8a.png)

3. Click **Trend Insights**. ![pa\_click\_trend\_insights.png](/images/a5/pa_click_trend_insights-a58dbddc.png)

4. Click the **Give your insight a name** textbox and enter a name for your Insight. ![trend\_give\_your\_insight\_a\_name.png](/images/66/trend_give_your_insight_a_name-66798cfc.png)

5. Click the **Description** text box and enter a description that explains what the Trend Insight is about. ![trend\_enter\_a\_description.png](/images/bd/trend_enter_a_description-bdbf8596.png)

6. From the **Select user type** dropdown, choose whether to analyze data for **All users**, **Identified users**, or **Anonymous users**. ![trend\_insight\_select\_anonymous\_users.png](/images/56/trend_insight_select_anonymous_users-5664e5a8.png)

   Note:

- By default, Insights data might contain identified (users identified by User ID) and unidentified (users not identified but denoted by Anonymized Whatfix IDs) users.
- The **Event identification rate** indicates the percentage of events Whatfix is able to attribute to uniquely identified users.

![insights\_event\_identification\_rate.png](/images/2b/insights_event_identification_rate-2bffbd53.png)

- For more information on filtering users and understanding the Event identification rate, see [How can I filter unidentified users in Insights?](/analytics/how-can-i-filter-unidentified-users-in-product-analytics)

1. Click the **Data source** icon and select the stage from which you want to get the data. ![trend\_insight\_data\_source\_option.png](/images/fd/trend_insight_data_source_option-fd526db8.png)
2. Click **Choose metric**. ![trends\_choose\_metric.png](/images/5a/trends_choose_metric-5a17ef59.png)
3. Under **Session metrics**, select the desired session metric. ![session\_analytics\_session\_metrics\_choose\_session\_metric](/images/6b/session_analytics_session_metrics_choose_session_metric-6b85b310.png)
4. Click **Add user filter** and select the required User filter. ![trend\_insights\_sessions\_select\_filter\_for\_exclude.png](/images/51/trend_insights_sessions_select_filter_for_exclude-5109be76.png)
5. Select the condition as **Does not equal to** from the dropdown. ![trend\_insights\_sessions\_select\_sales\_for\_exclude.png](/images/59/trend_insights_sessions_select_sales_for_exclude-59658b35.png)
6. Select the filter value that you want to exclude, and then click **Apply**. ![trend\_insights\_sessions\_select\_sales\_department\_to\_exclude.png](/images/0b/trend_insights_sessions_select_sales_department_to_exclude-0bed84af.png)
7. Click **Add user breakdown** and select the criteria to breakdown the data. ![trend\_insights\_click\_add\_user\_breakdown.png](/images/d1/trend_insights_click_add_user_breakdown-d16dc542.png)
8. Scroll down to view the generated data chart. ![trends\_session\_remove\_department\_with\_does\_not\_equal\_to.png](/images/1c/trends_session_remove_department_with_does_not_equal_to-1c1f1563.png)

Note:

The data chart is generated without the data for the excluded filter. It is excluded from the User breakdown as well.

1. Click **Save**. ![trends\_click\_save\_option.png](/images/22/trends_click_save_option-22d8e5de.png)

Shows overall behavior and engagement for both identified and anonymous (unidentified) users.

Users that Whatfix can detect and identify using a unique User ID.

Users that Whatfix cannot identify. These users are denoted by the Anonymized Whatfix IDs rather than an actual User ID.
