{"section":"tutorials","requestedLocale":"en","requestedSlug":"filtering-data-on-master-data","locale":"en","slug":"filtering-data-on-master-data","path":"docs/en/tutorials/master-data/master-data-v1-settings/filtering-data-on-master-data.md","branch":"main","content":"In Master Data, you can create filters for API access and viewing forms. Filters simplify data search and query, giving you more control over your data.\n\nTo create a filter, you must first configure it on the data entity and then on the desired form, following the steps described in the following sections.\n\n## Filter requirements\n\nFollow the recommendations below when setting fields as filters:\n\n- Do not use fields of the **CEP** (Brazilian postal code system), **Text** and **File** types as filters.\n- Add a field containing a few options as a filter, such as \"Category\".\n\n## Configuring filters in the data entity\n\nFollow the instructions below to set an existing field as a filter in the data entity:\n\n1. In the VTEX Admin, access **Store Settings** > **Storefront** > **Master Data**.\n2. In Master Data, click the gear icon <i class=\"fas fa-cog\"></i> next to an application.\n3. Click **Data structure**.\n4. Go to the **Data Entities** tab.\n5. Click the edit button <i class=\"fas fa-edit\"></i> on the entity you want to set the filter.\n\n   You will be redirected to the list of the entity's fields.\n6. Click the gear <i class=\"fas fa-cog\"></i> button in the field you want to set as a filter.\n7. Check the **Is filterable?** option.\n8. Click the `Save` button.\n9. In the list of entities, click the diskette button <i class=\"fas fa-save\"></i> to publish the entity.\n10. Click the reindex button <i class=\"fas fa-expand-arrows-alt\"></i> to index the entity.\n\n## Configuring filters in the form\n\nFollow the instructions below to configure filters in the form:\n\n1. In the VTEX Admin, access **Store Settings** > **Storefront** > **Master Data**.\n2. In the application containing the form where you want to create the filter, click the gear icon <i class=\"fas fa-cog\"></i>.\n\n   You will be redirected to the list of forms in the app.\n3. Click the edit <i class=\"fas fa-edit\"></i> button on the row of the form you want to edit.\n4. Complete the **Filters** field with the internal name of the designated filter field. The internal name corresponds to the initial field value when creating and editing the data entity, and it cannot be changed. To input multiple values, separate them with commas, without spaces.\n5. Click the `Save` button.\n\n## Filtering form records\n\nAfter creating the filter, you can use it in the form. To do this, follow the steps below:\n\n1. In the VTEX Admin, go to **Store Settings** > **Storefront** > **Master Data**.\n2. In the desired application, find the form you want to view and click the list icon <i class=\"fas fa-bars\"></i>.\n\n   You will be redirected to the list of records for this form. On the side, you will see the configured filters. \n3. To filter, select the filter's name and value, then click `Filter`.\n\n   You can filter by multiple fields at once, and use multiple values for a single field. To remove a filter, click the `X` next to its value."}