> For the complete documentation index, see [llms.txt](https://university.gonexa.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://university.gonexa.fr/doc/getting-started/manage-tables/filter-table-data.md).

# Filtrer les données d'un tableau

Les filtres permettent de s'assurer de voir uniquement la donnée pertinente par rapport à votre contexte.

{% hint style="success" %}
**Pour exemple**

Ici, nous souhaitons filtrer uniquement la catégorie "Produit" dans le 1er tableau, les "Services" dans le 2ème et les "Options" dans le dernier. Nous utilisons 3 fois le même objet Salesforce mais avec des vues différentes.
{% endhint %}

## Identification du filtre à utiliser

La connaissance de votre Salesforce est indispensable pour connaître le bon filtre à utiliser et qui sera celui alimenté par la bonne donnée.

* Si le champ qui pourra filtrer la donnée n'est pas encore créé, assurez vous de le créer et de l'alimenter

## Ajout de la condition sur l'objet enfant

* Dans le composant Assistant Gonexa, modifiez l'objet enfant en cliquant sur le crayon
* Dans la section "Filtrer", ajoutez un filtre de récupération des enregistrements
* Retrouvez le champ à utiliser pour le filtre

{% hint style="success" %}
**Pour exemple**

Famille de produit = "Options"
{% endhint %}

![Ajout d'un filtre sur l'objet enfant](https://4198981723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTYUzkIngX1MnHE8kOJDR%2Fuploads%2FSXmDuiIqdHFnuN9ecpw6%2F18-filtrer-donnee.gif?alt=media)

## Vérification du filtre

* Retournez dans votre contexte (Devis, Opportunité, ...)
* Assurez vous d'avoir de la donnée complétée sur le champ filtré
* Générez pour vérifier que le filtre a bien été appliqué


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://university.gonexa.fr/doc/getting-started/manage-tables/filter-table-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
