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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Table of Contents
classcontents

...

概要

Styleclass
ClasstopLink

top

With Yellowfin's view builder you can create derived columns based on the fields sourced from the database. These calculations can include simple mathematical calculations or more complex SQL statements.

You can create a number of different types of calculated columns including:

  1. Pre-defined filters,
  2. User Parameters,
  3. Manually Created Calculations,
  4. Custom Built Functions, or
  5. Date Hierarchy Formatters.

These options will create very different field types as described below.

...

ページトップ

Yellowfinのビュービルダーを使って、データベースから読み出したデータを使って計算を行う、計算フィールドを作成することができます。これらの計算には、単純な四則演算だけでなく、複雑なSQLステートメントを含めることが可能です。

作成することができる計算フィールドの種類は以下の通りです: 

タイプ

説明

式ビルダー

ビルダーインターフェースを通して計算を作成できます。自分でSQLを記述する必要はありません。

グループ化値

グループ化された値を返すフィールドを作成できます。

定義済みフィルター

レポート作成者が使用するフィルターを作成できます。レポート作成者は、レポートごとにフィルターを定義する必要がなくなります。

パラメーター

レポート閲覧者により定義され、What-If分析(仮説分析)のレポートに渡される値を持つことができるフィールドを定義できます。

フィルターグループ

レポート内のフィルターとして使用されるフィールドのセットを作成できます。フィルターグループには、フィルターの従属関係およびキャッシュされる値を含めることができます。

フリーハンドSQL

SQLを記述することで計算を作成できます。ビルダーは使用しません。

式テンプレート(カスタム関数)

テンプレートを使用して計算を作成できます。ビルダーを使用する必要はなく、必要なフィールドを指定するだけで済みます。

日付階層

日付フィールドをさまざまな書式に変換してそれぞれのレベルを作成することで、時間ベースの階層を作成できます。

フィールドの新規作成

Styleclass
ClasstopLink

top

You can create new calculated fields within your view as required.

ページトップ

必要に応じ、計算を行うフィールドや同じカラムの書式の違うコピーなど、新しいフィールドを作成してビューに追加することが可能です。

  1. 1. 新しいフィールドを作成するには、「未結合のフィールド」フォルダーリストの「計算フィールド」フォルダーを開きます。「式ビルダー」、「 フリーハンドSQL」、 「式テンプレート(カスタム関数)」、および「日付階層」サブフォルダーが表示されます。異なる方法で計算を作成できます。
    Image Added
    次に「新しい関数の作成」、「SQLの登録」、「(既存の)関数の選択」から、どのような方法でフィールドを作成するかを選択します(カスタム関数の使い方のセクションを参照してください)。
  2. 方法を選択したらレポートフォルダーにドラッグします。編集セクションが表示されますので、まずは既存のフィールドと同様にメタデータを定義してください。
  3. 「式」タブをクリックして、式の定義に進みます。「日付階層」を選択した場合を除いて、これが最初のタブに設定されます。
  4. To create a new field open the Calculated Fields folder in the unattached folders list. Here you will see sub folders for formula builder, freehand SQL, Formula templates, or Date Hierarchy. These are different ways that you can create calculations.
    Image Removed
    Select how you wish to create the field by either selecting to create a new calculated formula, or type in an SQL statement, or use an existing function as defined in the custom function XML file (See Using Custom Functions).
  5. Choose the type you want and drag it into the report folders like you would a normal field. This will open the field edit section. Define the metadata for the field as usual.
  6. Advance to the formula entry by clicking the Formula tab at the top of the dialog, unless you chose the Date Hierarchy, this is set on the first tab.



horizontalrule
Styleclass
ClasstopLink

topページトップ