> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/de/what-would-you-like-to-learn-about/platform-features/multi-program-reports/data-lab-custom-reports/create-custom-measures-in-data-lab.md).

# Benutzerdefinierte Metriken in Data Lab erstellen

Die integrierten Kennzahlen von Data Lab decken die meisten Anforderungen an die Berichterstellung ab. Manchmal benötigen Sie jedoch eine Berechnung, die speziell auf Ihr Programm zugeschnitten ist, etwa eine benutzerdefinierte Conversion-Rate, eine gewichtete Summe oder ein Verhältnis zwischen zwei vorhandenen Kennzahlen. Mit benutzerdefinierten Kennzahlen können Sie eigene Formeln auf Basis vorhandener Kennzahlen und Dimensionen definieren. Das Ergebnis wird dann wie jede Standardkennzahl in Ihrer Visualisierung angezeigt.

{% hint style="warning" %}
**Wichtig:** Wir *empfehlen* dringend, vor Beginn dieses Artikels die [Einführung in Data Lab](https://help.impact.com/brand/de/what-would-you-like-to-learn-about/platform-features/multi-program-reports/data-lab-custom-reports/data-lab-introduction.md) zu lesen.
{% endhint %}

1. Wählen Sie im linken Navigationsmenü ![](https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → Reports** → [**Data Lab**](https://app.impact.com/secure/advertiser/engage/reportBuilder.ihtml).
2. Wählen Sie eine **Visualisierung** aus, um zu beginnen.
3. Wählen Sie im Abschnitt *Dimensionen und Kennzahlen* in der rechten Werkzeugleiste die Option ![](https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[Benutzerdefinierte Kennzahl erstellen]**.

   <div data-with-frame="true"><figure><img src="https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FaJ9k8ckxQGr9Bokgj8Mb%2FUntitled%20design%20(12).png?alt=media&amp;token=68dfc0f3-adb5-4c88-8447-6ceafc61b73d" alt="" width="355"><figcaption></figcaption></figure></div>
4. Geben Sie im Feld *Formel* die Berechnung für die benutzerdefinierte Kennzahl ein. Wenn Sie das Ergebnis nur für einen einzelnen Dimensionswert benötigen (z. B. für einen Ereignistyp), können Sie in Ihrer Formel `Filter` verwenden.

   * Weitere Informationen finden Sie weiter unten unter [Eine Kennzahl auf einen bestimmten Wert filtern](#filter-a-measure-to-a-specific-value) .

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Beispiel:</strong> Die Kennzahl <em>Conversion-Rate</em> verwendet <code>Actions / Clicks</code>. impact.com zeigt anhand einer Validierungsmeldung unter dem Feld <em>Formel</em> an, ob die Formel gültig ist.</p></div>
5. Geben Sie Ihrer benutzerdefinierten Kennzahl einen Namen (z. B. *Conversion-Rate)*.
6. Wählen Sie im ![](https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[Dropdown-Menü]**&#x64;as **Format**Ihrer Kennzahl aus. Sie können zwischen *Zahl*, *Zeichenfolge*, *Prozentsatz*und *Währung*.
7. Wählen Sie **Speichern** aus, um Ihre benutzerdefinierte Kennzahl zu speichern.

   <div data-with-frame="true"><figure><img src="https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FeRSxwBeihOE4jt2Um20f%2FScreenshot%202026-04-27%20at%2017.31.58.png?alt=media&amp;token=805ccf5a-b8b8-499d-86e7-efc04994dc80" alt="" width="563"><figcaption></figcaption></figure></div>

## Eine Kennzahl auf einen bestimmten Wert filtern

Benutzerdefinierte Kennzahlen berechnen normalerweise alle Werte einer Dimension. Manchmal möchten Sie das Ergebnis jedoch nur für einen einzelnen Wert erhalten, etwa die Conversion-Rate für einen einzelnen Ereignistyp, ohne dafür eine separate Visualisierung zu erstellen oder auf eine Pivot-Tabelle zurückzugreifen. Die `Filter` -Funktion ermöglicht es Ihnen, eine Kennzahl direkt in der Formel auf genau einen Dimensionswert einzugrenzen.

1. Wählen Sie im Abschnitt „Dimensionen und Kennzahlen“ der rechten Symbolleiste ![](https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[Benutzerdefinierte Kennzahl erstellen]**.
2. Geben Sie `Filter` in das Feld *Formel* ein. Während Sie tippen, schlägt Data Lab Kennzahlen, Dimensionen und Werte vor. Es wird eine Kennzeichnung *Gültig* oder *Ungültig* angezeigt, um anzugeben, ob die Formel gültig ist.
3. Geben Sie einen **Namen** für die Kennzahl ein (zum Beispiel *Conversion-Rate für Verkäufe*).
4. Wählen Sie im ![](https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[Drop-down-Menü]**&#x64;as **Format**.
5. Wähle **Speichern**.

<div data-with-frame="true"><figure><img src="https://1698965099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FAPIC59sIvphC3MM0Mmdz%2FScreenshot%202026-08-26%20at%2014.56.52.png?alt=media&amp;token=573db799-5c8e-4641-abe9-eef93c3bb01a" alt="" width="485"><figcaption></figcaption></figure></div>

### Format der Filterfunktion

Verwenden Sie die Filterfunktion im folgenden Format: *Filter(Measure, Dimension=Value).*

<table><thead><tr><th width="167.26953125">Element</th><th>Einzugebender Wert</th></tr></thead><tbody><tr><td>Messgröße</td><td>Eine vorhandene Kennzahl, z. B. <em>Aktionen.</em></td></tr><tr><td>Dimension</td><td>Die Dimension, auf die eingeschränkt werden soll, z. B. <em>Ereignistyp</em>.</td></tr><tr><td>=</td><td>Der einzige Vergleich, den <code>Filter</code> unterstützt. Sie können weder <code>!=</code>, <code>></code>, <code>&#x3C;</code>, <code>IN</code>, <code>AND</code>noch <code>OR</code>.</td></tr><tr><td>Wert</td><td>verwenden. Einen einzelnen Wert aus dieser Dimension, beispielsweise den Namen eines Ereignistyps.</td></tr></tbody></table>

### Filter kombinieren

* **Kombinieren Sie Filter mit anderen Kennzahlen:** Verwenden Sie `+`, `-`, `*`, `/` und Klammern. Sie können keinen Filter in einen anderen einfügen, etwa `Filter(Filter(...))`.
* **Mehr als einen Wert zählen:** Fügen Sie für jeden Wert eine separate Filterformel hinzu.\
  Beispiel: `Filter(Actions, Event Type=Sale) + Filter(Actions, Event Type=Lead)`
* **Keine passenden Zeilen:** Die Kennzahl zeigt **0**an oder **0%** wenn das Format auf *Prozent*.


---

# 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://help.impact.com/brand/de/what-would-you-like-to-learn-about/platform-features/multi-program-reports/data-lab-custom-reports/create-custom-measures-in-data-lab.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.
