> 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/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/custom-and-calculated-fields/recalculate-a-calculated-field.md).

# 計算フィールドを再計算する

新しい計算フィールドを設定した場合、計算条件に一致する新しいイベントデータを受信したときにのみ計算を実行します。再計算は、履歴イベントデータに対して計算を実行するための任意の方法です。履歴データを再計算すると参加者のプロフィールは更新されますが、プログラムのルールが実行されることはありません。そのため、プログラムに影響を与えずに安全に再計算を実行できます。

#### 再計算を開始

次のいずれかを使用する計算フィールドを設定または編集する際に、再計算をリクエストできます。 `合計` または `カウント` 計算。

1. 左側のナビゲーションメニューから、次を選択します ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → データソース → フィールド**.
2. フィールド作成画面を開きます。
   * 新しい計算フィールドを作成するには、 **［計算フィールドを作成］を選択します**.
   * 既存の計算フィールドを編集するには、 *フィールド* テーブル内で該当のフィールドにカーソルを合わせ、 **編集**.
3. で、 *確認* セクションで、 ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-b5e1740618ed6571d97b8fed7c25a7678f85d375%2F299632fb6f4f91fbf9847471754cc6180e4284a65b4960af4c4ea472a159f552.svg?alt=media) **保存時に値を再計算** チェックボックスを選択します。
4. 選択 **保存**.

{% hint style="info" %}
**再計算の例：** 現在は9月26日です。固定の1か月の [追跡期間](/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/custom-and-calculated-fields/tracking-windows-for-calculated-fields-explained.md)です。フィールドが26日から月末までの値のみを計算し始めるのではなく、9月全体の値を考慮させたいとします。これを実現するには、フィールドの設定時に ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-b5e1740618ed6571d97b8fed7c25a7678f85d375%2F299632fb6f4f91fbf9847471754cc6180e4284a65b4960af4c4ea472a159f552.svg?alt=media) **\[未チェックのボックス]** **バックフィル計算** チェックボックスを選択します。再計算は、変更を保存した後に開始されます。
{% endhint %}

#### 処理順序

{% hint style="info" %}
**イベントの処理順序：** 再計算中は、イベントが順不同で処理される場合があります。これは、キューに入ったイベントを処理している間に新しいイベントデータを受信した場合にのみ発生します。
{% endhint %}

再計算は即時には完了せず、処理する必要のあるデータ量に応じて完了までに時間がかかる場合があります。再計算のステータスは、 ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → データソース → プロセスページ**.

再計算の実行中に受信したイベントは、再計算が完了するまでキューに入れられます。再計算が完了すると、受信順にイベントの処理を開始します。


---

# 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/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/custom-and-calculated-fields/recalculate-a-calculated-field.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.
