Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
Overview
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.
Grouping Age Example
...
概要
レポートに使用するフィールドを、その値によってグループ分けしその名前を実際の値の代わりに表示することができます。この機能によって、レポートに新たな分析レイヤーを追加することが可能です。
年齢によるグループ化の例
以下の例は年齢のカラムを、範囲を持ったグループに分けたものです。13歳以上18歳以下の人を「10代」というグループとして表示しています。
例:
Section | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Wiki Markup |
---|
{html}<iframe width="700" height="394" src="https://www.youtube.com/embed/NEOZ_7-T2So?color=white" frameborder="0" allowfullscreen></iframe>{html} |
Creating a Grouped Variable
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 Group Data from the field drop down menu.
- You will now have a list of groups currently applied to the field, which you can click on to edit or delete, and an Add Group option to define a new group.
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:
Display
This is the text that will replace the value in the report based on the condition.
Operator
This is the condition in which the variable name will apply to if the value in the report meets the condition.
For more details see below.Values
The value in the report or number in which the operator is being applied to.
- Once these fields have been filled in you can add it to the grouping list by pressing Save. The grouping will appear in a list.
- 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 save and the report will refresh with the new groupings applied.
Note: groups cannot be defined for a field that has an aggregation applied to it. Remove any aggregation settings to make the Group Data option available.
Group Operators
The operators available when your column is a text or numeric will differ. Possible values for the operator include:
...
Operator
...
Description
...
グループ化の作成
カラムのグループ化を行うには、管理者によってそのカラムにグループ化が許可されている必要があります。許可されていれば、カラムメニューにグループ化のオプションが表示されます。
- フィールドのドロップダウンメニューから「グループデータ」を選択します。
- フィールドに現在適用されているグループの一覧が表示されます。この一覧をクリックして編集または削除を行ったり、「グループの追加」オプションをクリックして新規グループを定義したりすることができます。
グループ化の方法はカラムの種類に依存し、数値データと日付、テキストデータとでは異なります。どちらの場合も以下の項目の設定が必要です。
表示
条件にマッチするデータに置き換えてレポートに表示するテキストです。
演算子
データをこのグループに含めるかどうかを判断する演算子です。
詳しくは下記を参照してください。値
演算子を適用するデータの値です。
- これらのフィールドを設定したら、「保存」をクリックしてグループ化リストに追加します。
- リストからグループを削除する場合は、グループ名の横にある削除ボタンをクリックします。
- グループ化の条件を編集する場合には、グループ名のハイパーリンクをクリックして、グループを選択してください。編集画面が表示されます。
- グループ化の設定が完了したら、「保存」をクリックします。レポートが更新され、新しいグループ化が適用されます。
注意:集計が適用されたフィールドに対して、グループを定義することはできません。「グループデータ」オプションを使用可能にするには、集計の設定をなしに設定します。
グループ化の演算子
グループ化に使用可能な演算子はカラムが数値であるかテキストであるかによって違います。演算子に使用可能な値は、以下のとおりです。
演算子 | 説明 |
---|---|
テキストベースの演算子 |
|
In List | One or more alphanumeric or string values |
Not In List | Two or more alphanumeric or string values |
Numeric Based Operators |
|
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. |
...