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

Anchor
top
top

Table of Contents
classcontents

...

概要

Styleclass
ClasstopLink

...

top

Advanced Functions are used to transform results by applying post processing calculations to the initial query results. These functions are database independant as they are performed by Java code, rather than being part of the SQL query.

Available Functions

ページトップ

高度な関数は、最初のクエリーの結果に対して後処理計算を適用することによって、結果を変換するために使用します。これらの関数はSQLクエリーの一部であるわけではなく、Javaコードによって実行されるため、データベースに依存しません。

利用可能な関数

Yellowfinは定義済みの関数を備えています。しかしながら、管理者は組織やレポートにのニーズに合わせて専用の関数を追加することもできます。以下の項目を展開すると、使用可能な関数の一覧が表示されます。

 Yellowfin comes with a set of pre-defined functions. However, your administrator may add in additional functions specifically for your organisation or reporting needs. Expand the following to see the lists of functions available:

Expand
title

...

Accumulative Percentage

Will print a running percentage for the values returned. A maximum of 100% will be displayed.

Accumulative Total

Will print out a running total for the data returned.

Ascending Rank

The highest value returned will be displayed as a 1. Used where the preferable result is a higher value. Eg. Profit.

Bottom 10 Rank

The bottom 10 values (lowest) are returned.

Bottom N Rank

The bottom N values (lowest) are returned- user is prompted to define number to return.

Delta from Last

Calculate change between consecutive rows

Delta from Last N

Calculate change between the current row and row - N

Descending Rank

The lowest value returned will be displayed as a 1. Used where the preferable result is a lower value. Eg. Expenses.

Difference of Columns

Returns difference of two selected columns

Multiplication of Columns

Returns multiplication of two selected columns

Natural Logarithm

Gives the base e logarithm of the values of a given field.

Natural Logarithm

Gives the base e logarithm of the values in the field.

Percentage Against Absolute Maximum

Returns percentage of selected field according to an absolute maximum value.

Percentage Against Column

Creates a percentage ration of values in the selected column compared to another column.

Percentage Against Maximum

Returns the % of the attribute when compared to the maximum value of the attribute within the dataset.

Percentage of Total

Returns the % of the attribute when compared to the total summed value of the attribute for the entire dataset.

Sum of Columns

Returns the sum of two selected columns.

Top 10 Rank

The top 10 values (highest) are returned.

Top N Rank

The top N values (highest) are returned - user is prompted to define number to return.

Top N With Ties

Returns top values for the selected field with provision for tied values. This means that if there are multiple records per ranking it will restrict it to N total rankings.

分析関数

累積比率

データの累計比率を表示します。最大値は100%になります。

累積合計

データの現在までの累計を表示します。

昇順(1-9)ランク

たとえば利益のような数値が高い方が好ましい値に関して、最も高いものを1と表示するランク付けを行います。

最下位から10位

ランクの低い方から10件を表示します。

最下位からN位

ランクの低い方からN件を表示します(表示する件数を指定するよう指示が表示されます)。

最終からの増分

連続した行の間の変化を計算します。

最終Nからの増分

連続した行(現在から現在マイナスN)の間の変化を計算します。

降順(9-1)ランク

たとえば経費のような数値が低い方が好ましい値に関して、最も低いものを1と表示するランク付けを行います。

カラム間の差

選択した2つのカラムの差を返します。

カラムの乗算

選択した2つのカラムの乗算を返します。

自然対数

与えられたフィールドの値のeを底とする対数を与えます。

自然対数

フィールドの値のeを底とする対数を与えます。

絶対最大値に対する百分率(%)

選択したフィールドの絶対最大値に対する比率を返します。

カラムに対する百分率(%)

選択したカラム(列)と他のカラム(列)を比較した値のパーセンテージ、比率を作成します。

最大値に対する百分率(%)

選択したカラム(列)のデータセット中での最大値に対する値のパーセンテージを表示します。

合計値に対する百分率(%)

選択したカラム(列)のデータセット中での合計値に対する値のパーセンテージを表示します。

カラムの集約

選択した2つのカラムの集約を返します。

最上位から10位

ランクの高い方から10件を表示します。

最上位からN位

ランクの高い方からN件を表示します(表示する件数を指定するよう指示が表示されます)。

最上位からN位(関連付けあり)

選択したフィールド(関連付けあり)の最上位の値を返します。つまり同じランクに複数のレコードがある場合に、ランクの総数をNに制限します。

Wiki Markup
{html}<iframe width="700" height="394" src="https://www.youtube.com/embed/sq-7fDhlU10?color=white" frameborder="0" allowfullscreen></iframe>{html}

Expand
title日付及び時刻

日付範囲内の日

レポートのカラムの選択された日付同士の日数差です。

現在までの日数

現在の日付と選択された日付の日数差(期間の日数)です。

日付範囲内の月数

レポートのカラムの選択された日付間の月数差です。

現在までの月数

現在の日付と選択された日付の月数差です(期間の月数)。

期間平日数

レポートのカラムの選択した日付間の平日数です。

日付範囲内の年

レポートのカラムの選択された日付間の年数差です。

現在までの年数

現在の日付と選択された日付の年数差です(期間の年数)。

Expand
title統計関数

デシル(十分位数)

デシル(十分位数)とは結果を降順(9-1)に並べ十区分し、ランク付けしたもので、分散を見るために使用します。

偏差

算術平均からの偏差の数です。

線形回帰

線形近似曲線はシンプルな線形データの分析に適しています。データのポイントが線形のパターンを描くとすれば、そのデータは線形と考えられます。線形近似曲線は通常、何かが一定の割合で増減していることを示します。

相加平均

数値一覧の算術平均(または単なる平均)は、一覧の全メンバーを合計した値を一覧のアイテム数で除算したものです。

中央値

中央値は、サンプル、母集団、または確率分布の上位半分と下位半分を分ける数値を表しています。

最頻値

最頻値は、データセットの中で最も多く出現した値です。

移動平均

移動平均の近似曲線は、データの変動をスムージングし、傾向をより明確に表します。
移動平均は期間オプションで設定された数のデータポイントを平均し、それらを平均して線を描き出します。
もし期間が2にセットされていれば、最初の2つのデータが平均されて近似曲線に使用されます。次の点は2番目と3番目のデータの平均という風に続きます。

移動合計

直近のN期間の合計です。

単純予測

単純予測モデルは、移動平均の特殊な形で、スムージングのために使われる期間が1のものを言います。したがって期間tの予測は、単純にその前の期間t-1のデータです。
その単純さゆえに、このモデルは最高で1つの期間を予測することができるだけです。中長期の期間の予測ツールとしては利用価値がありません。

多項式回帰

多項式近似曲線は変動するデータに対して使用される曲線です。たとえば大きなデータセットにおける増減を分析するのに向いています。多項式の次数はデータの変動数やどのくらい曲線(丘と谷)を描かせるかによって決まります。2次多項式近似曲線には通常、丘と谷が1つずつ存在し、3次多項式では1つあるいは2つ、4次多項式では最高3つになります。

四分位数

四分位数とは結果を降順(4-1)に並べ四区分し、ランク付けしたもので、分散を見るために使用します。

標準偏差

標準偏差は、一連の値の分散の度合いです。これは、確率分布、ランダム変数、母集団、または複数集団に適用することができます。

標準得点

標準得点は標準偏差の数を示しており、算術平均より上か下かの観測になります。これによって、調査でよく利用されるさまざまな正規分布での観測と比較が行えます。

差異

データセット間の差を返します。

加重移動平均

より新しい値にウェイトを置いた加重移動平均を返します。

Expand
titleテキスト

連結

2つのカラムを連結して1つの文字列にします。

Expand
titleデータ変換

データ変換によって、データベースから結果が返されたときに結果を調整することができます。このデータ変換は、たとえばデータベースに格納されている通貨価格を、全桁の通貨価格から1000で除算した(千円単位の)通貨価格に変換する場合に使用することができます。

関数の適用

Styleclass
ClasstopLink

ページトップ

レポートビルダー - 「データ」ステップ

高度な関数を初めて適用する場合、この関数を適用するフィールドが表に追加されていることを確認する必要があります。関数を適用する場合には、表内のフィールドのコピーが2つ必要となる場合があります。1つは元の値(販売数値など)を表示するためのコピー、もう1つは適用する関数(販売数値の最上位から10位を表示する関数など)を含むコピーです。

レポートビルダーの「データ」ステップから、表内のフィールドに関数を適用するには、以下の手順を実行します。

  1. 以下のいずれかの場所で、フィールドのドロップダウンメニューを開きます。
    1. カラムとロウの一覧から
      Image Added
    2. 表のプレビューから
      Image Added
  2. ここで、一覧から「高度な関数」オプションを選択し、「高度な関数」表示を開きます。
  3. ここで、関数オプションを入力する必要があります。
    Image Added
    1. フィールドに適切な集計を適用します。これにより、必要なすべての集計の最上位にこの関数が適用されます。
    2. 分析」、「統計関数」、および「テキスト」から、使用する関数タイプを選択します。
    3. 一覧から、使用する関数名を選択します。選択すると、関数の横にその説明が表示されます。一部の関数には追加のパラメーターが必要です。追加のパラメーターは、関数を選択した後に定義する必要があります。
    4. 関数が「グラフ」ページにのみ表示されるように設定することもできます。これにより、関数を適用するフィールドの追加のコピーを表示目的で作成する際に、追加のフィールドで表が煩雑にならないようにすることができます。
  4. 定義したら、「保存」をクリックして関数を適用します。

レポートビルダー - 「グラフ」ステップ

レポートビルダーの「グラフ」ステップから、表内のフィールドに関数を適用するには、以下の手順を実行します。

  1. ページの左下にある「+」ボタンをクリックします。
    Image Added
  2. 高度な関数」を選択して、使用するフィールドを一覧から選択し、「高度な関数」表示を開きます。
  3. ここで、関数オプションを入力する必要があります。
  4. Image Added
    1. フィールドに適切な集計を適用します。これにより、必要なすべての集計の最上位にこの関数が適用されます。
    2. 分析」、「統計関数」、および「テキスト」から、使用する関数タイプを選択します。
    3. 一覧から、使用する関数名を選択します。選択すると、関数の横にその説明が表示されます。一部の関数には追加のパラメーターが必要です。追加のパラメーターは、関数を選択した後に定義する必要があります。
    4. 関数が「グラフ」ページにのみ表示されるように設定することもできます。これにより、関数を適用するフィールドの追加のコピーを表示目的で作成する際に、追加のフィールドで表が煩雑にならないようにすることができます。
  5. 定義したら、「保存」をクリックして関数を適用します。

レポートビルダー - 「表示」ステップ

レポートビルダーの「表示」ステップから、表内のフィールドに関数を適用するには、以下の手順を実行します。

  1. フィールドのドロップダウンメニューを開きます。
    Image Added
  2. ここで、一覧から「高度な関数」オプションを選択し、「高度な関数」表示を開きます。
  3. ここで、関数オプションを入力する必要があります。
  4. Image Added
    1. フィールドに適切な集計を適用します。これにより、必要なすべての集計の最上位にこの関数が適用されます。
    2. 分析」、「統計関数」、および「テキスト」から、使用する関数タイプを選択します。
    3. 一覧から、使用する関数名を選択します。選択すると、関数の横にその説明が表示されます。一部の関数には追加のパラメーターが必要です。追加のパラメーターは、関数を選択した後に定義する必要があります。
    4. 関数が「グラフ」ページにのみ表示されるように設定することもできます。これにより、関数を適用するフィールドの追加のコピーを表示目的で作成する際に、追加のフィールドで表が煩雑にならないようにすることができます。
  5. 定義したら、「保存」をクリックして関数を適用します。

データ変換の適用

Styleclass
ClasstopLink

ページトップ

フィールド内のデータを変換するには、以下の手順を実行します。

  1. 前述のセクションで説明したように、「高度な関数」表示を開きます。
  2. 「データ変換」タブを選択します。適用する変換の種類を選択するインターフェースが表示されます。
  3. 変換に適した集計を選択します。
  4. 追加」ボタンをクリックし、変換を選択して適用します。これで、選択したデータタイプに使用可能な変換の一覧が表示されます。デフォルトでは、Java date converterとNumeric divide convertor(1000で除算することができるなど)のコンバーターが組み込まれています。
  5. 画面に表示されるコンバーターの指示に従って操作し、「保存」をクリックします。
  6. 注意:必要に応じて、「追加」リンクをクリックして新しいタイプを作成すれば、複数のコンバーターをデータタイプに追加することができます。

 

horizontalrule
Styleclass
ClasstopLink

ページトップ

 

 

Expand
titleDate & Time

Days Between Date

The days between the date selected and another date column on the report.

Days to Now

The days between the date selected and the current date. (age in days)

Months Between Date

The months between the date selected and another date column on the report.

Months to Now

The months between the date selected and the current date. (age in months)

Weeks Days Between

The week days between the date selected and another date column on the report.

Years Between Date

The years between the date selected and another date column on the report.

Years to Now

The years between the date selected and the current date. (age in years)

Expand
titleStatistical

Decile

Decile divides the rows returned into 10 equal parts, and assigns a value of 1 to 10, based upon its rank to the highest value. Deciles are used as a measure of dispersion.

Deviation

The number of deviations from the mean.

Linear Regression

A linear trendline is a best-fit straight line that is used with simple linear data sets. Your data is linear if the pattern in its data points resembles a line. A linear trendline usually shows that something is increasing or decreasing at a steady rate.

Mean

The arithmetic mean (or simply the mean) of a list of numbers is the sum of all the members of the list divided by the number of items in the list.

Median

The median is described as the number separating the higher half of a sample, a population, or a probability distribution, from the lower half.

Mode

The mode is the value that occurs the most frequently in a data set

Moving Average

A moving average trendline smoothes out fluctuations in data to show a pattern or trend more clearly.
A moving average uses a specific number of data points (set by the Period option), averages them, and uses the average value as a point in the line.
If Period is set to 2, for example, then the average of the first two data points is used as the first point in the moving average trendline. The average of the second and third data points is used as the second point in the trendline, and so on.

Moving Total

The total over the last N periods.

Naïve Forecasting

A naive forecasting model is a special case of the moving average forecasting model where the number of periods used for smoothing is 1. Therefore, the forecast for a period, t, is simply the observed value for the previous period, t-1.
Due to the simplistic nature of the naive forecasting model, it can only be used to forecast up to one period in the future. It is not at all useful as a medium-long range forecasting tool.

Polynomial Regression

A polynomial trendline is a curved line that is used when data fluctuates. It is useful, for example, for analysing gains and losses over a large data set. The order of the polynomial can be determined by the number of fluctuations in the data or by how many bends (hills and valleys) appear in the curve. An Order 2 polynomial trendline generally has only one hill or valley. Order 3 generally has one or two hills or valleys. Order 4 generally has up to three.

Quartile

Quartile divides the rows returned into 4 equal parts, and assigns a value of 1 to 4, based upon its rank to the highest value. Quartiles are used as a measure of dispersion.

Standard Deviation

The standard deviation is a measure of the dispersion of a set of values. It can apply to a probability distribution, a random variable, a population or a multiset.

Standard Score

The standard score indicates how many standard deviations an observation is above or below the mean. It allows comparison of observations from different normal distributions, which is done frequently in research.

Variance

Returns the difference between the data sets.

Weighted Moving Average

Returns a moving average that is weighted so that the more recent the value, the more weight is applied to it.

Expand
titleText

Concatenate

Joins two columns into one text string.

Expand
titleData Conversion

Data Conversion allows you to adjust results once they've returned from the database. For example you may wish to convert a currency value which is stored in the database from a full currency value to a ('000) where the value is divided by 1000. This transformation can be achieved using the data conversion.

Applying a Function

Styleclass
ClasstopLink

top

Report Builder - Data Step

To apply and advanced function first you will need to ensure the field you wish to apply it to has been added to your table. Often, when applying functions, you may find you need two copies of the field in your table; one to display the original values (such as sales figures) and the second to have a function applied to it (for example, displaying the top 10 rank of sales figures).

To apply a function to a field in your table from the Data step of the report builder, complete the following:

  1. Open the field's drop down menu, in either of these locations:
    1. Through the Columns/Rows list
      Image Removed
    2. Through the Table Preview
      Image Removed
  2. Now select the Advanced Function option from the list, opening the Advanced Function display.
  3. You will now need to complete the function options:
    Image Removed
    1. Apply the appropriate aggregation to the field. This ensures the function is applied on top of any aggregations necessary.
    2. Select which function type you wish to use, from Analysis, Statistical, and Text
    3. Select the name of the function you wish to use from the list. Once selected, you will see a description of the function displayed next to it. Some functions require extra parameters, which will need to be defined once the function has been selected.
    4. You also have the option to set the function to only display on the Charts page. This allows you to create additional copies of a field to apply functions to for graphical purposes, without cluttering your table with extra fields.
  4. When defined, click Save to apply the function.

Report Builder - Charts Step

To apply a function to a field in your table from the Charts step of the report builder, complete the following:

  1. Click on the + button at the bottom left of the page
    Image Removed
  2. Select Advanced Function for and choose the field you wish to use from the list, opening the Advanced Function display.
  3. You will now need to complete the function options:
    Image Removed
    1. Apply the appropriate aggregation to the field. This ensures the function is applied on top of any aggregations necessary.
    2. Select which function type you wish to use, from Analysis, Statistical, and Text
    3. Select the name of the function you wish to use from the list. Once selected, you will see a description of the function displayed next to it. Some functions require extra parameters, which will need to be defined once the function has been selected.
    4. You also have the option to set the function to only display on the Charts page. This allows you to create additional copies of a field to apply functions to for graphical purposes, without cluttering your table with extra fields.
  4. When defined, click Save to apply the function.

Report Builder - Output Step

To apply a function to a field in your table from the Output step of the report builder, complete the following:

  1. Open the field's drop down menu
    Image Removed
  2. Now select the Advanced Function option from the list, opening the Advanced Function display.
  3. You will now need to complete the function options:
    Image Removed
    1. Apply the appropriate aggregation to the field. This ensures the function is applied on top of any aggregations necessary.
    2. Select which function type you wish to use, from Analysis, Statistical, and Text
    3. Select the name of the function you wish to use from the list. Once selected, you will see a description of the function displayed next to it. Some functions require extra parameters, which will need to be defined once the function has been selected.
    4. You also have the option to set the function to only display on the Charts page. This allows you to create additional copies of a field to apply functions to for graphical purposes, without cluttering your table with extra fields.
  4. When defined, click Save to apply the function.

Applying Data Conversion

Styleclass
ClasstopLink

top

Data in a field can be converted by completing the following:

  1. Open the Advanced Function display, as outlined in the sections above.
  2. Choose the 'Data Conversion' tab. This will provide you with the interface to use to select the conversion you wish to apply.
  3. Choose the aggregation appropriate for you conversion.
  4. Click Add button to select and apply a conversion - this will present you with a list of possible conversions for the data type you have selected. By default there is a java date converter and a Numeric divide converter (This lets you divide a value by 1000's etc).
  5. Follow the on screen instructions for the converter and click Save.
  6. Note that you can add multiple converters to a data type if required by clicking the add link and creating a new type.
horizontalrule

...

ClasstopLink

...