> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/de-documentation/berichte/funktion-sum.md).

# Funktion 'Sum'

Die Summenfunktion für ein Label oder eine Tabellenzelle ermöglicht es Ihnen, Daten aus verschiedenen Elementen zu sammeln. Diese Funktion erlaubt es Ihnen, eine einfache Zählung der Anzahl der Elemente durchzuführen, ohne Skripte verwenden zu müssen.

Um dies zu tun, gehen Sie zu den Eigenschaften eines Feldes im Datenbereich und wählen Sie die Summe. Im laufenden Feld können Sie wählen, ob nur die Gruppe, der gesamte Bericht oder jede Seite summiert werden soll.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FI78lG0PHFek5ssqtxZxQ%2Fimage.png?alt=media&amp;token=aa62e012-a684-4b3c-bfd0-67c607994723" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2F3zm8uSSi3BXkIU93gBhc%2Fimage.png?alt=media&amp;token=4bca547c-59e3-4f4b-b197-a982a46a0e48" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FYx4h8Xtk81jekuLGMjqf%2Fimage.png?alt=media&amp;token=9f4b4d84-2773-4655-b37e-aa7e4a8f58a5" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FLA7yckGOnFJ2vrhk2vno%2Fimage.png?alt=media&amp;token=225ee52e-99fc-4b49-bb56-0a92f2c34177" alt="" width="563"><figcaption></figcaption></figure>

Im Run-Editor (weißes Feld neben der Zusammenfassung) können Sie dann die Funktion auswählen, d.h. ob Sie die Zusammenfassung summiert, gezählt (Anzahl) oder andere Gruppierungen verwenden möchten.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FnBJaIkKhyZHL3KoAav8W%2Fimage.png?alt=media&amp;token=7f398e00-8fb0-4aac-a016-4583783f46bd" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2F3n46ryrWU3zOjaRXLgC4%2Fimage.png?alt=media&amp;token=60ff50cb-c67c-492c-a8f2-bb9882d7165d" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FrMOwyW7GJC1kieh1NaAq%2Fimage.png?alt=media&amp;token=521c149b-5c15-4c27-ac86-d14374d1df94" alt="" width="563"><figcaption></figcaption></figure>

Mit den entsprechenden Formularfeldern (z. B. „Wenn Ausgabe 0/1“ (siehe untenstehende Formel)) können Sie charakteristische Werte für Elemente berechnen.

```
Iif([LastExecutionStatusInvariant]=='Passed', 1, 0) 
// alle Testfälle mit dem Status "Bestanden"
```


---

# 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://docs.aqua-cloud.io/documentation/de-documentation/berichte/funktion-sum.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.
