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:

Type

Description

Formula Builder

This allows you to build calculations through a builder interface, rather than having to write the SQL yourself.

Grouped Values

This allows you to create a field that returns grouped results.

Pre-Defined Filters

This allows you to define filters for Report Writers to use, rather than defining them for each report.

Parameters

This allows you to define a field that can have its value defined by a Report Reader and then passed into the report for What If analysis.

Filter Groups

This allows you to create a set of fields to be used as filters in reports. This can include filter dependencies and cached values.

Freehand SQL

This allows you to build a calculation by writing the SQL, rather than using a builder.

Formula Templates (Custom Functions)

This allows you to build a calculation using a template, rather than having to use a builder, simply by specifying the fields it requires.

Date Hierarchy

This allows you to create a time based hierarchy by converting date fields into various formats to create each level.

...

ページトップ

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

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

タイプ

説明

式ビルダー

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

グループ化値

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

ビュー定義計算フィルター

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

パラメーター

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

ビュー定義フィルターグループ

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

フリーハンドSQL

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

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

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

日付階層

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

フィールドの新規作成

Styleclass
ClasstopLink

top

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

ページトップ

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

  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 (Custom Functions), and 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, unless you chose the Date Hierarchy, this is set on the first tab.



horizontalrule
Styleclass
ClasstopLink

topページトップ