Anchor | ||||
---|---|---|---|---|
|
Overview
Custom functions are functions that are hand designed and that are stored in XML format on the Yellowfin server. These functions usually consist of advanced SQL functions that cannot be easily generated by the formula builder. These functions are configured by your system administrator.
- Select the type of calculated field as Formula, and select the formula you wish to use from the drop down menu.
- Functions defined in the XML file will require you to enter a number of parameters (or arguments). Parameters can be chosen from a list of columns where the data type matches the data type of the give parameter.
- Assign a value by clicking each Argument and assigning a value to it. The value can either be a fixed data value or a column reference.
- Once values for each of the arguments has been assigned, click the save button to save the column to the list.
Creating New Custom Functions
...
概要
カスタム関数は、XMLで書かれYellowfinサーバーに保持されている関数です。これらは、式ビルダーでは簡単に作成できない先進のSQL関数から構成されており、システム管理者によって設定されます。
- 「式」タブを選択し、ドロップダウンメニューから使用する式を選択してください。
- XMLで定義されている関数は、いくつかのパラメーター(または引数)を要求します。パラメーターは、そのデータ型にマッチするカラムの一覧から選ぶことができます。
- 引数名をクリックして値を設定します。値は定数あるいはカラム参照です。
- すべての引数に対して値の設定が済んだら、「OK」ボタンをクリックして設定を保存してください。
カスタム関数の新規作成
新しいカスタム関数を作成してYellowfinサーバーに保存し利用することが可能です。アプリケーションに新しいカスタムXML関数を追加する場合には、システム管理者に連絡をするか、カスタム関数を参照して詳細を確認してください。