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

...

概要

Styleclass
ClasstopLink

...

top

All measures that record a static level (inventory levels, financial account balances, and measures of intensity such as room temperatures) are inherently non-additive across the date dimension and possibly other dimensions. In these cases, the measure may be aggregated usefully across time, for example, by averaging over the number of time periods.

The Constraint option is used for semi-additive values so that business users will be prompted if they try to create a report with incompatible values. Use constraints to define how the aggregation is to be applied if the field is semi-additive.

An example of where this function is useful is shown below:

ページトップ

日付やその他のディメンション(次元)ごとに保持される静的なレベルのデータ(目録、財務のバランスシートや室温のような計測値)メトリック(数値)フィールドのデータは、本質的に非加算的です。しかし、これらのデータは、たとえば複数の時点の平均値を算出するなど、ある種の集計の対象になりえます。

ビジネスユーザーがその類の値を使ってレポートを作成しようとした場合に警告を表示するためには、「制約」オプションを使用して集約に制約をかけます。フィールドに制約あり集約を指定した場合、「制約」タブで集計方法を指定します。

この機能の使用例を、以下に示します:

名前

雇用数

6月

Month

Name

Head Count

June

Fred

1

June6月

Jane

1

June6月

Mary

1

July7月

Fred

1

July7月

Jane

1

 

 

5

Sum

Given the above data, to sum the Head Count alone would result in 5 if Month were not included in the report. This would be misleading for a user (since 5 people were never employed at one time). If you put a constraint rule on Month that it is a mandatory field when Head Count is being summed, then this would result in the following data:

合計

上のデータにおいて、月がレポートに含まれないとすれば、雇用数だけを合計して5になります。これは誤解を招きます(5人は一度に雇用されたわけではありません)。必須フィールドである月に制約を設定すれば、雇用数の合計は以下のように表示されます:

雇用数

6月

3

7月

Month

Head Count

June

3

July

2

 

5

Sum

As you can see from these results the report is more meaningful and correct. By applying a constraint to the aggregation of headcount the correct usage of the attribute is ensured by the end user in their reports. To access the rules applied to fields the semi-additive option must be selected from the format tab; once it has been selected the “Constraint” tab will appear, this is where the user defines the rules.

Image Removed

  1. Aggregation not permitted allows the user to indicate which action is not permitted for the metric. If sum or average is selected, the corresponding column will not be available to constrain against.
  2. When constrain against fields/categories box is selected a new section is displayed. A column for the sum constraint and the average constraint is displayed next to the fields allowed in the report. The user selects the constraint the want against the field.
    Image Removed
    These constraints are checked when creating a report and the metric is being aggregated with sum or average.

The rules that can be applied to a field are: exclude, mandatory, and one of list. The default rule is no constraint; this will result in no constraint being applied to the field.

...

Exclude

...

Being selected as the rule will result in the field not being allowed to be used in the report when the chosen aggregation is applied.

...

Mandatory

...

Being chosen as the rule will indicate the field must be used in the report when the relevant aggregation is applied.

合計

言うまでもなく、このレポートはより正確で意味があります。制約を雇用数の集計に適用することによって、エンドユーザーがその属性をレポートでより正しく使用することを可能にします。フィールドに制約を適用するには「書式」タブで、「集約の制約あり」を選択してください。これにより編集画面に「制約」タブが追加され制約を定義することができます。

Image Added

  1. 「集約不許可」の欄で、メトリック(数値)フィールドに対して適用できない集計方法を指定します。合計、あるいは平均が選択された場合、このカラムにそれらの集計を行うことが制限されます。
  2. 「フィールド/カテゴリーに対しての制約」のチェックボックスをオンにすると、新しいセクションが表示されます。「集計の制約」および「平均の制約」用のカラムは、レポートの特定のフィールドの隣に表示されます。フィールドに対する制約を選択します。
    Image Added
    これらの制約はレポート作成にあたって、メトリック(数値)フィールドが合計、あるいは平均される時にチェックされます。

フィールドに適用できるルールの種類は以下の通りです。デフォルトは「制約なし」になり、このとき、結果的にフィールドに制約がかけられていない場合と同じになります。

含めない

選ばれた集計が適用されるとき、このフィールドはレポートから除外されます。

必須

関連する集計が適用されるとき、このフィールドは必ずレポートに含まれます。

選択肢の1つ

関連する集計が適用されるとき、これらのフィールドのうちの少なくとも1つがレポートに含まれます。

 

...

One of list

...

horizontalrule
Styleclass
ClasstopLink

ページトップ

 

...