> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/parametrage/statistiques/tableaux-recapitulatifs/afficher-les-calculs-sur-lannee-n-1-ou-n-2.md).

# Afficher les calculs sur l’année n-1 ou n-2

Les calculs d'un tableau récapitulatif peuvent automatiquement s'appliquer sur les données de la période N-1 ou N-2.

Pour cela il faut que le tableau récapitulatif ait, au minimum, les filtres :

\- Date de début

\- Date de fin

Dans le calcul sélectionner la période voulue :

\- Année N-1

\- Année N-2

Ce calcul s'appliquera sur l'année précédente de "Date de début" et idem pour "Date de fin"

Cela fonctionne sur les tableaux récapitulatifs à 1 ou 2 axes

Par exemple Avec

\- Date de début = 01/01/2014

\- Date de fin = 31/12/2014

Un calcul sur Année N-1 se fera comme si les filtres étaient 01/01/2013 et 31/12/2013.

la date doit etre présente sur l'axe horizontale.

&#x20;Remarque :

{% hint style="warning" %}
Si les colonnes *Qté N-1* ou *CA N-1* sont déjà affichées dans le tableau, l’option Afficher sur la période N-1 n’entraîne aucun changement. Ces colonnes étant déjà présentes, l’affichage reste identique.
{% endhint %}

&#x20;

&#x20;


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.simax.fr/parametrage/statistiques/tableaux-recapitulatifs/afficher-les-calculs-sur-lannee-n-1-ou-n-2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
