UiPath Documentation
insights
2023.10
false

Insights ユーザー ガイド

最終更新日時 2026年5月7日

一般的な式

前提条件

v2021.10 より前の Insights で式にアクセスする

  1. ユーザーにはデザイナー権限が必要で、Insights ポータルに移動する必要があります。

    ドキュメントの画像

  2. 次に、既存のダッシュボードに移動するか、新しいダッシュボードを作成します。

    ドキュメントの画像

  3. 次に、ウィジェットを編集するか、新しいウィジェットを作成します。

    ドキュメントの画像

  4. 次に、値の横のプラス記号をクリックします。

    ドキュメントの画像

  5. 「fx」アイコンをクリックして新しい式を作成します。

    ドキュメントの画像

  6. ここでは、[Functions] タブが表示されます。

    ドキュメントの画像

  7. 一般的に使用される関数は、下の表内で比較できるよう強調表示されます。

v2022.10 の Insights で式にアクセスする

  1. ユーザーにはデザイナー権限が必要です。既存のダッシュボードに移動するか、ダッシュボードを最初から作成します。

    ドキュメントの画像

  2. 次に、ダッシュボードを編集します。

    ドキュメントの画像

  3. 次に [Add Tile] を選択し、[Visualization] を選択します。

    ドキュメントの画像

    ドキュメントの画像

  4. 次に、Explore を選択します。

    ドキュメントの画像

  5. [Add New Measure]、[Add New Dimension]、または [Table Calculation] オプションを使用して、新しいカスタム式を作成します。

    ドキュメントの画像

比較

一般的な式

v2021.10 より前の Insights

Insights v2022.10

Sum - リスト内の数値を合計します。

  • [Functions] タブで Sum 関数を検索して選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Sum</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Sum</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Round - 端数を返します。

  • Round 関数を検索し、タブから選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>Round</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>Round</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Now - 現在の時刻を返します。

  • Now 関数を検索し、[Functions] タブから選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Now</strong> . </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Now</strong> . </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Median - 中央値を計算します。

  • [Functions] タブで Median 関数を検索します。次に関数をクリックすると、Median 関数が式エディターに表示されます。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Median</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Median</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

最大値

  • Max 関数を検索してクリックすると、式エディターに関数が追加されます。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Max</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Max</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

If - 条件に基づいて数値式を実行します。

  • [Functions] タブで If 関数を検索して選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>IF</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>IF</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Floor - 最も近い 1 の倍数に切り捨てられた数値を返します。

  • Floor 関数を検索し、クリックすると数式に関数が追加されます。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Floor</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Floor</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

数式内でフィールドをフィルター処理する

(フィールド、フィルター処理されたフィールド)

  • 式内でフィールドをフィルター処理するには、元のフィールドの横にフィールドを追加してそれをクリックし、[Rename] を選択して、フィルターを選択します。
  • フィルターを追加するには、フィールド名の横にある [Filter by Field] ボタンをクリックします。
  <ul>
    <li> Then you will see the filter at the top of the visualization. </li>
  </ul>
  <ul>
    <li> Then you will see the filter at the top of the visualization. </li>
  </ul>

Day Difference - 開始時刻と終了時刻の差を返します。

  • [Functions] タブで Day Difference 関数を検索して選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>diff_days</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>diff_days</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Count - 一意の値の数をカウントします。

  • 例: Count(ProcessName)
  • [Functions] タブで「Count」と入力し、関数を選択します。次に [Data Browser] タブに移動し、関数内で [ProcessName] をクリックします。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>Count_Distinct</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

  <ul>
    <li> Optionally, select the three dots next to a field and click <strong>Count</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>Count_Distinct</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

  <ul>
    <li> Optionally, select the three dots next to a field and click <strong>Count</strong> . </li>
  </ul>

Count All - 項目のリストに含まれる実際の項目数を返します (重複を含む)。

  • 例: DUPCount(ProcessName)
  • [Functions] タブで Count All 関数を検索して統計関数を選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then click <strong>Type Count</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

  <ul>
    <li> Optionally, select the three dots next to a field and click <strong>Count</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then click <strong>Type Count</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

  <ul>
    <li> Optionally, select the three dots next to a field and click <strong>Count</strong> . </li>
  </ul>

Case - 条件に基づく結果の式を実行します。条件が満たされない場合は、else 条件が返されます。

  • Case 関数を検索し、[Functions] タブから選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Case</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Case</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

Average - 平均値を計算します。

  • [Functions] タブで Average 関数を検索して選択します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>mean</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Type <strong>mean</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>

All

  • 利用できません。

Ceiling - 1 の位の数まで切り上げます。

  • [Functions] タブで Ceiling 関数を検索して選択し、式エディターに追加します。
  • まず、カスタム フィールドの横にある [Add] ボタンをクリックします。
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Ceiling</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  <ul>
    <li> Select <strong>Table Calculation</strong> . </li>
  </ul>

  <ul>
    <li> Then type <strong>Ceiling</strong> and enter the necessary parameters. </li>
  </ul>

  <ul>
    <li> Choose a name for the table calculation and click <strong>Save</strong> . </li>
  </ul>
  • 前提条件
  • Insights で数式にアクセスする <v2021.10
  • v2022.10 の Insights で式にアクセスする
  • 比較

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得