> 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/zh/what-would-you-like-to-learn-about/platform-features/multi-program-reports/data-lab-custom-reports/create-custom-measures-in-data-lab.md).

# 在 Data Lab 中创建自定义指标

{% hint style="warning" %}
**重要：** 我们 *强烈* 建议你参考 [Data Lab 简介](/brand/zh/what-would-you-like-to-learn-about/platform-features/multi-program-reports/data-lab-custom-reports/data-lab-introduction.md) ，然后再开始阅读本文。
{% endhint %}

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 报告** → **Data Lab**.
2. 选择您要创建的 **可视化** 以便开始。
3. 在右侧工具栏的“维度和指标”部分，选择 ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[创建自定义指标]**.

   <div data-with-frame="true"><figure><img src="/files/0a5af72223dc77b025a6135c46216179c14db660" alt="" width="355"><figcaption></figcaption></figure></div>
4. 为你的自定义指标命名——下面的示例将显示一个名为 *转化率*.
5. 选择你的指标的 **格式**。你可以在以下选项之间选择 *数字*, *字符串*, *百分比*，或 *货币*.
6. 在 *公式* 字段中，输入自定义指标的计算公式。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>示例：</strong> 该 <em>转化率</em> 指标将使用 <code>操作成本 / 点击</code>。impact.com 将通过窗口右上角的一个小 <img src="/files/9e4825d89bf0435887c540d1c033bf1a80dfb5fe" alt=""> <strong>[勾选标记]</strong> 来指示公式是否有效。</p></div>
7. 选择 **保存** 以保存你的自定义指标。

   <div data-with-frame="true"><figure><img src="/files/0ea89bd45fa4e5802476fdff74478da59c13ef04" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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:

```
GET https://help.impact.com/brand/zh/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>
```

The question should be specific, self-contained, and written in natural language.
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.
