# Filtering a database connection

Available in...

* Big Data Platform
* Cloud API Services Platform
* Cloud Big Data Platform
* Cloud Data Fabric
* Cloud Data Management Platform
* Data Fabric
* Data Management Platform
* Data Services Platform
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition
* Real-Time Big Data Platform

After you set up a specific database connection in Talend Studio, you may not want to view all databases in the DQ repository tree view of your Talend Studio.

You can filter your database connections to list the databases that match the filter you set. This option is very helpful when the number of databases in a specific connection is very big.

## Before you begin

A database connection is created in the Profiling perspective.

## Procedure

1. In the DQ repository tree view, expand Metadata &gt; DB Connection.
2. Right-click the database connection you want to filter and select Package Filter to open the corresponding dialog box.
3. In the Package Filter field, enter the complete name of the database you want to view and then click Finish to close the dialog box.

   ![Package filter field](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/db_connection_filter.png)

   Only the database that matches the filter you set is listed under the database connection in the DQ repository tree view. ![List of databases that match the filter.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/db_connection_filter2.png)
4. When you want to cancel the filter:
   1. In the Package Filter dialog box, delete the text from the Package Filter field.
   2. Click Finish to close the dialog box.

      All databases are listed under the selected database connection in the DQ repository tree view.