> 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. その *レビュー* セクションで、 ![](/files/fd83586f9930f6bcc6498179e6d7ed9571e7b572) **保存時に値を再計算** のチェックボックス。
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月全体の値を反映させたい場合は、 ![](/files/fd83586f9930f6bcc6498179e6d7ed9571e7b572) **\[未チェックのボックス]** **バックフィル計算** のチェックボックスを設定中にオンにすることで実現できます。変更を保存すると再計算が開始されます。
{% 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 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://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=<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.
