Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

概要

Unknown macro: {styleclass}

top

Yellowfinのビューは、ユーザー、ユーザーのレポート、およびデータベースの間を結びつけます。ビューの目的はエンドユーザーが専門的な知識を必要とせずにソースデータベースを使えるようにすることです。このセクションでは、基本的なビュー管理オプションのいくつかを解説します。

  1. 新規ビューを作成するには、以下の手順を実行します。
    1. 「データベースビュー」画面で「ビュー追加」をクリックします。または
    2. メインナビゲーションバーの「作成」メニューをクリックして、「ビュー」を選択します。

      「ビューの初期化」ページでは、ビューの作成方法や接続するデータソースの選択を行います。選択肢の意味は以下の通りです:

      Builder

      Description

      Drag and Drop

      作成に、Yellowfinのビュービルダーを使用します。

      Freehand SQL

      作成に、SQLエディターを使用します。

      Composite View

      複数のデータベースに接続するビューを作成する場合に使用します。

      OLAP

      既存のOLAPキューブを選択します。新たな属性を加えることはできません。

      Stored Procedure

      データベースに実行されている既存のプロシジャーからビューを作ることができます。

  2. ビューのカテゴリーを選択してください。このカテゴリーは、フィールドのカテゴリーを限定するのに用いられます。たとえば、販売ビューには、販売関連カテゴリーのフィールドだけが表示されるようにします。
  3. 新しいカテゴリーを作成するには、「カテゴリーの編集」をクリックします。新しいカテゴリーを追加するためのウインドウが開きます。

ドラッグ&ドロップで作成

Unknown macro: {styleclass}

top

Yellowfinのウェブインターフェースにより、データベース内の複数のテーブルを簡単に結合することができます。

See [Drag & Drop View Builder] for more information.

フリーハンドSQLビュー

Unknown macro: {styleclass}

top

「フリーハンドSQL」を選択すると、直接Yellowfinのリポジトリにビューを書き込むことができます。ソースシステム上の使用可能なテーブルは、左側の「データベーステーブル」に一覧表示されます。

Note: When writing an SQL view it is very important that you do not include an order by - since results are sorted by the Java application not the database. The order by will cause your view to fail.

Composite View

Unknown macro: {styleclass}

top

A composite view allows you to create a view which joins multiple data sources together. This allows users to create a report which includes data from these multiple databases.

The view builder for a composite view differs in that rather than displaying tables from a selected database it allows you to join existing Yellowfin views together and create virtual tables from any defined database.

  1. To create a composite view select the composite view option from the author drop down.
  2. You will also need to select a database in which you wish to store the view results. This is needed since composite views can be highly complex and result in slow query performance by your users. As a result Yellowfin schedules a query to generate the view and all its data on a regular basis to be stored in a specific warehouse database.

See [View from Multiple Sources] for information on creating composite views.

OLAP Cube View

Unknown macro: {styleclass}

top

An OLAP cube is a pre-aggregated structure on your database. Like a data mart it already contains a set of dimensions and measures which have been pre-aggregated to support rapid reporting.

  1. To create an OLAP cube view select OLAP cube from the author drop down menu.
  2. Choose the source connection - Yellowfin will only provide OLAP source connections for you to choose from.
    If no source exists you will have to create a specific OLAP source connection record.
  3. Choose the cube from a list of available cubes.

Note: When creating an OLAP cube as a view you will have limited options for updating field information. This is because most of the metadata is already contained in the cube itself.

Stored Procedure

Unknown macro: {styleclass}

top

With Yellowfin you can connect to stored procedures running on your application database.

  1. To connect to a stored procedure select the stored procedure options from the create view drop down list.
  2. Select the Database and then the stored procedure you wish to connect to.
  3. Click the next arrow to continue to the stores procedure parameters page. Yellowfin will automatically detect parameters which exist in your stored procedure and display this list on the page.
  4. You must fill in a value for each parameter. The value is only used to return column at this stage of the view builder. (The non-return fields will become automatic filters on the reports created from this stored procedure).
  5. When you have completed the parameter section click accept to return the list of fields in the result set.
  6. Complete the metadata as you would for a standard view. Note that the non-return parameters exist as filter fields.
  7. Filters will be added into each report created from the stored procedure automatically. They will not be visible on the report data page but will be displayed on the report filter page.



Unknown macro: {horizontalrule}
Unknown macro: {styleclass}

top

  • No labels