Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{anchor:top}
{toc: class=contents}

h2. Overview概要
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
You can change the data returned for selected fields on your report by grouping the values.  This provides you with the ability to add additional layers of analysis to your reports.

h3. Grouping Age Example
The example below groups the results of the age column into a segment group. People with an age below 20 and above 10 are grouped as teenagers.
For example:レポートに使用するフィールドを、その値によってグループ分けしその名前を実際の値の代わりに表示することができます。この機能によって、レポートに新たな分析レイヤーを追加することが可能です。


h3. 年齢によるグループ化の例

以下の例は年齢のカラムを、範囲を持ったグループに分けたものです。10歳以上20歳未満の人を「10代」というグループとして表示しています。
例:

{section}
{column:width=10%}
||Name||Age *名前* \\ || *年齢* \\ ||
| Mary | 14 |
| Sue | 30 |
| Jean | 16 |
{column}
{column:width=20%}	
Update of Age as a number into a segment.
数字で表示されていた年齢がグループで表示されます。
{column}
{column:width=10%}
||Name||Age *名前* \\ || *年齢* \\ ||
| Mary|teenager | 10代 \\ |
| Sue | 30 |
| Jean|teenager | 10代 \\ |
{column}
{column:width=60%}
{column}
{section}


h2. Creating a Grouped Variable
グループ化の作成
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
When setting up your report view your administrator will determine if grouping a particular column is permitted.  If grouping is permitted, you will see the option in the column menu drop down.
# Select Grouped Columns from the format menu or Group Values from the column format drop down menu.
カラムのグループ化を行うには、管理者によってそのカラムにグループ化が許可されている必要があります。許可されていれば、カラムメニューにグループ化のオプションが表示されます。

# 「書式」メニューから「カラム(列)のグループ化」、あるいは「カラム書式」ドロップダウンメニューから「グループ値」を選択します。
!01selectGrouping.png!
# The grouping form on your menu will open will vary based on the type of column you are grouping.  The different types of columns are numeric/date or text. The key fields for these are:
|*Variable name*|This is the text that will replace the value in the report based on the constraint.|
|*Operator*|This is the constraint in which the variable name will apply to if the value in the report meets the constraint.
For more details see below.|
|*Values*|The value in the report or number in which the operator is being applied to.グループ化の方法はカラムの種類に依存し、数値データと日付、テキストデータとでは異なります。どちらの場合も以下の項目の設定が必要です。
| *グループ名* \\ | マッチするデータに置き換えてレポートに表示するテキストです。 \\ |
| *演算子* \\ | データをこのグループに含めるかどうかを判断する演算子です。 \\
詳しくは下記を参照してください。 \\ |
| *値* \\ | 演算子を適用するデータの値です。 \\ |
!02groupingSetup.png|thumbnail,border=1!
# Once these fields have been filled in you can add it to the grouping list by pressing Submit. The grouping will appear in a list.
これらの項目を設定したら、「送信・実行」をクリックしてグループ化リストに追加します。
!03groupingList.png|thumbnail,border=1!
# To delete a grouping from the report simply click the delete button   located next to the group name.
# To edit a grouping from the list, select the grouping by clicking the group name hyperlink. This will open the edit form where you can make your changes.
# When you have finished with the groupings press close and the report will refresh with the new groupings applied.
リストからグループを削除したい場合は、グループ名の横にある削除ボタンをクリックします。
# グループ化の条件を編集したい場合には、グループ名のハイパーリンクをクリックして、グループを選択してください。編集画面が表示されます。
# グループ化の条件を編集したら、「閉じる」をクリックします。レポートが更新され、設定したグループ化が適用されます。
!04groupingApplied.png!



h2. Group Operatorsグループ化の演算子
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
Theグループ化に使用可能な演算子はカラムが数値であるかテキストであるかによって違います。以下にオペランドの一覧を示します:
operators available when your column is a text or numeric will differ.  Possible values for the operand include:
||Operand||Description||
||Text Based Operands||| *オペランド* \\ || *説明* \\ ||
|| {color:#333333}{*}テキストベースのオペランド{*}{color} | ||
| *一覧に含む*In List*|One or指定した一覧の数字または文字列に含まれる more alphanumeric or string values|
|*Not In List*|Two or more alphanumeric or string values\\ |
| *一覧に含まない* \\ | 指定した一覧の数字または文字列に含まれない \\ |
||Numeric *数値ベースのオペランド* Based\\ Operands|| ||
|*Equal to*|Equal to a single alphanumeric or string value|
|*Greater than*|Greater than a single alphanumeric or string value|
|*Greater than or equal to*|Greater than or equal to a single alphanumeric or string value|
|*Less than*|Less than a single alphanumeric or string value|
|*Less than or equal to*|Less than or equal to a single alphanumeric or string value|
|*Different from*|Not equal to or different from a single alphanumeric or string value|
|*Between*|Between variable 1 and variable 2 these will need to be legitimate parameters such as date, age etc.|
|*Not Between*|Not between variable 1 and variable 2 these will need to be legitimate parameters such as date, age etc.|
|*Is Null*|Record contains no value for selected attribute.  No Parameter can be set|
|*Is Not Null*|Record contains a value for selected attribute.  No Parameter can be set|
|*Like*|Records that contain the same letter or letters.|
|*Starts With*|String starts with letter or letters|
|*Ends With*|String end with letter or letters. *等しい(=)* \\ | 指定した1つの数字または文字列と等しい \\ |
| *より大きい(>)* \\ | 指定した1つの数字または文字列より大きい \\ |
| *以上(≧)* \\ | 指定した1つの数字または文字列以上 \\ |
| *より小さい(<)* \\ | 指定した1つの数字または文字列より小さい \\ |
| *以下(≦)* \\ | 指定した1つの数字または文字列以下 \\ |
| *と異なる(≠)* \\ | 指定した1つの数字または文字列と等しくない \\ |
| *の間(~)* \\ | 日付、年齢などの比較可能な値が変数1と変数2の間にある \\ |
| *の間でない* \\ | 日付、年齢などの比較可能な値が変数1と変数2の間にない \\ |
| *IS NULL* \\ | 選択したカラム(列)の値がNULL(パラメーターはセットできません) \\ |
| *IS NOT NULL* \\ | 選択したカラム(列)の値がNULLでない(パラメーターはセットできません) \\ |
| *Like* \\ | 指定した文字、文字列を含む、もしくは一致する \\ |
| *で始まる* \\ | 指定した文字、文字列で始まる \\ |
| *で終わる* \\ | 指定した文字、文字列で終わる \\ |
\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}