30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

...

概要

Styleclass
ClasstopLink

top

Calculated fields allow you to create basic calculations with the fields available in your report. The calculated field option will create new unique fields for your report.

Note: a calculated field that you create cannot be used across multiple reports. It is unique to your report only. If you create a set of calculated fields and you wish to use them across more than one report you can either:

  1. Request the calculations to be included in the view by your administrator or
  2. Copy the template report containing the calculations using the copy functions - the copied report will contain the new calculated fields as well.

Why Use Calculated Fields?

When an administrator designs your reporting view they do not have the capacity to create all the variables that you are likely to need in the course of your report writing. The intention of a view is to provide you with sufficient fields for you to be able to write the report you need and to use some of these fields as the basis for more complex calculations.

You create calculated fields when you need to derive data from fields such as ratios or subtractions. For example if you wish to know the ratio of outstanding invoice amounts. For this you may need to divide the amount received with the amount invoiced.

...

ページトップ

計算フィールドを使用して、フィールドに対する基本的な計算を行うことができます。このオプションはそのレポートに固有の新しいフィールドを追加します。

注意: 作成した計算フィールドは、複数のレポートで共有することはできません。そのレポートに固有のものです。同じ計算フィールドを複数のレポートで使用するには以下の方法があります:

  1. 管理者に要請してビューに対して計算フィールドを定義してもらう。
  2. コピー機能を使って計算フィールドを含むレポートをコピーし、これをひな形として別のレポートを作成する。

計算フィールドの効用

レポートビューを設計する際、管理者がユーザーによるレポート作成に必要と思われるすべての変数を用意してくれるとは限りません。ビューの目的はユーザーがレポートを作成するのに充分で、かつそれらに基づいてより複雑な集計を行うことができるだけのフィールドを提供することです。

比率や差分などをフィールドのデータから算出する必要がある場合には計算フィールドを作成します。たとえば未収の請求額の比率を知りたければ、領収金額の合計を請求金額の合計で除算するフィールドを作成すればいいのです。 

関数ビルダーによる計算フィールドの追加

Styleclass
ClasstopLink

top

  1. Click the Add calculated field link located at the bottom of the data fields panel.
    Image Removed
  2. A calculated field popup will open. Insert a name for your new column. And use the formula builder to build your calculation.
    1. Choose a 'Simple Formula' from the formula type drop down.
    2. Select the fields you want to add to the calculation. The report fields list shows you all the fields you have currently added to your report.
    3. Use the +-*/ () buttons to add in the arithmetic calculations.
    4. Yellowfin will not permit you to select combinations of variables that are incompatible - therefore options that are greyed out will become active as you add in elements.
  3. You can validate your calculation to determine whether it will work correctly. Click the validation link to do this.
    Image Removed
  4. Click OK to save your new calculated field. It will now be available in a folder called calculated fields. You will have to drag the new field from the Calculated Fields folder onto your report.
    Image Removed

...

ページトップ

  1. データフィールドの一番下にある「計算フィールドの追加」をクリックします。
    Image Added
  2. 「計算フィールド」ウインドウが表示されます。作成する新しいカラムの名前を入力し、関数ビルダーを使って、そこで行う計算式の定義を行います。
    1. ドロップダウンメニューの「式のタイプ」から「シンプル式」を選択します。
    2. 計算式に追加したいフィールドを選択します。現在レポートに追加されているすべてのフィールドが選択可能です。
    3. 下に並んだ加減乗除、あるいはカッコのボタンを使って計算式を完成してください。
    4. Yellowfinは式として成り立たない変数や演算子の組み合わせを許しません。そのため、その局面で選択できない要素を以下の図のようにグレイ(灰色)で表示します。
  3. 定義した計算式の整合性をチェックできます。「テスト」をクリックしてください。
    Image Added
  4. 「保存して閉じる」をクリックして計算フィールドを保存します。データフィールドに「計算フィールド」というフォルダーが作成され、新たに作成したフィールドが納められます。これをレポートに使用する場合には、ドラッグ&ドロップしてレポートデータに追加してください。
    Image Added

既存の式を使用した計算の作成

Styleclass
ClasstopLink

top

Using a pre-defined formula you can add calculation to your report that will be based on formula rules.

  1. Click the Add calculated field link located at the bottom of the data fields panel.
  2. A calculated field popup will open. Insert a name for your new column. And use the formula builder to build your calculation.
    1. Choose a 'Pre-Defined Formula' from the formula type drop down.
    2. Choose the formula you wish to apply - the selection is specific to the type of database that your data is sourced from.
    3. Once you have chosen your formula you will be prompted to select the appropriate fields for the formula.
  3. You can validate your calculation to determine whether it will work correctly. Click the validation link to do this.
  4. Click Save & Close to save your new calculated field. It will now be available in a folder called calculated fields. You will have to drag the new field from the Calculated Fields folder onto your report.

...

ページトップ

既存の式を使用して、レポートに式のルールに基づいて計算を追加することができます。 

  1. データフィールドの一番下にある「計算フィールドの追加」をクリックします。
  2. 「計算フィールド」ウインドウが表示されます。作成する新しいカラムの名前を入力し、関数ビルダーを使って、そこで行う計算式の定義を行います。
    1. ドロップダウンメニューの「式のタイプ」から「既存の式」を選択します。
    2. 適用する式を選択します(データの供給元であるデータベースのタイプによって、選択は異なります)。
    3. いったん式を選択すると、計算式に必要なフィールドをシステムが尋ねてきます。
  3. 定義した計算式の整合性をチェックできます。「テスト」をクリックしてください。
  4. 「保存して閉じる」をクリックして新しい計算フィールドを保存します。データフィールドに「計算フィールド」というフォルダーが作成され、新たに作成したフィールドが納められます。これをレポートに使用する場合には、ドラッグ&ドロップしてレポートデータに追加してください。

計算フィールドの編集

Styleclass
ClasstopLink

top

  1. To edit a formula for a calculated field open the Calculated Fields folder.
  2. Select the field you wish the edit. It should be highlighted and an edit icon will be visible at the right of the field's name.
  3. Click the edit icon and the formula popup will open.
  4. Edit your formula and click OK when completed to close the popup and save your changes.

...

ページトップ

  1. 計算フィールドの計算式を編集するにはまずデータフィールドの「計算フィールド」フォルダーを開きます。
  2. 編集したいフィールドを選択します。強調表示され、フィールド名の右に編集アイコンが表示されます。
  3. このアイコンをクリックすると「計算フィールド」ウインドウが開きます。
  4. 計算式を編集後、「OK」ボタンをクリックし変更内容を保存します。

計算フィールドの削除

Styleclass
ClasstopLink

top

To delete a calculated field from your report entirely

ページトップ

レポートから計算フィールドを削除するには以下のようにします。 

  1. 「計算フィールド」フォルダーから削除したいフィールドを選びます。
  2. 編集アイコンをクリックして「計算フィールド」ウインドウを表示させます。
  3. 「削除」をクリックしてフィールドを削除します。ウインドウが閉じ、レポートデータのページに戻ります。
  4. Select the field from the calculated field category
  5. Click the edit icon and the formula popup will open
  6. Click the delete link to delete the field. The popup will close and return you to the report page.



horizontalrule
Styleclass
ClasstopLink

topページトップ