Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageja
Section
Column
Info

この要約はレポートやデータセット(既定義のインディケーター)に使える全てのフォーミュラの概要を提供しています。

データ取り込み中の変換スクリプトを探している場合は、開発者文書を参照して下さい。

インディケーターとコード

それぞれのデータセットインディケーターはM_ (メジャーのM )で始まる固有のコードで特定されています。計算されたインディケーター値にアクセスすることは、このコードを直接フォーミュラに入力することで可能です。例えば:

Code Block
M_NAME_1 + M_NAME_2

インディケーター値を得るもう一つの方法はvalue()機能を使うことです。

Code Block
value('M_NAME_1') + value('M_NAME_2')
Note

ストリングは必ずアポストロフィーで閉じられなければいけません: 'L_NAME'

両方の例は同じ結果です。

ドリルダウン(メンバー)集合体

メンバー集合体は、1つの時間単位内で1つ選ばれたメンバーにより多くのレコードが存在する場合のバリュー値の数え方を特定します。集合体タイプはインディケーターコードに正しい接頭語を付けることで特定されます。特定されない場合、 SUM 集合体が適用されます。

接頭語

説明

@SUM

選択したドリルダウンアトリビュトの全値の合計を計算します。

M_NAME@SUM

@MIN

選択したドリルダウンアトリビュトの全値の最小を計算します。

M_NAME@MIN

@MAX

選択したドリルダウンアトリビュトの全値の最大を計算します。

M_NAME@MAX

@AVG

選択したドリルダウンアトリビュトの全値の平均を計算します。

M_NAME@AVG

@MEDIAN
選択したドリルダウンアトリビュトの全値の中間を計算します。
M_NAME@MEDIAN

@DC

選択したドリルダウンアトリビュトの全値のディスティンクトカウントを計算します。

M_NAME@DC

レベルメンバーの数え方

それぞれのドリルダウンレベルは特定のメンバーを表されます。例えば、レベルCity Berlin, Paris, New Yorkなどのメンバーを含みます。これらのメンバーの数を得るには以下のシンタックスを使用してください:

Code Block
L_NAME_COUNT //L_NAME represents the level code (prefix L like level)
L_NAME_DCOUNT //to get the unique count use the _DCOUNT suffix instead

Next Steps

Sv translation
languagede

Formula Reference Guide [Original Seitentitel]

Section
Column
Info

Diese Zusammenfassung bietet einen Überblick über alle Formeln, die in Reports oder Datensätzen verwendet werden können (vordefinierte Indikatoren). Wenn Sie während des Datenimports nach Transformations-Scripting suchen, finden Sie weitere Informationen in der Dokumentation für Entwickler.

Indikatoren und Codes

Jedes Datensatzkennzeichen wird durch seinen eindeutigen Code angegeben, der mit M_(M als Maßzahl) beginnt. Der Zugriff auf den berechneten Indikatorwert ist möglich, indem dieser Code direkt in die Formel eingegeben wird. Zum Beispiel:

Code Block
M_NAME_1 + M_NAME_2

Eine andere Möglichkeit, um den Wert des Indikators zu erhalten, ist die Funktion value():

Code Block
value('M_NAME_1') + value('M_NAME_2')
Note

Zeichenfolgen müssen immer in Apostrophe eingeschlossen werden:'L_NAME'.

Beide Beispiele haben das gleiche Ergebnis.

Drilldown (Mitglieder) Aggregation

Die Mitgliederaggregation bestimmt, wie Werte gezählt werden, wenn mehrere Datensätze für ein ausgewähltes Mitglied in einer einzelnen Zeiteinheit vorhanden sind. Der Aggregationstyp wird angegeben, indem dem Code des Indikators das entsprechende Suffix hinzugefügt wird. Wenn nicht angegeben, wird die SUM-Aggregation angewendet.

Suffix

Beschreibung

Beispiel

@SUM

Berechnet die Summe aller Werte für das ausgewählte Drilldown-Attribut

M_NAME@SUM

@MIN

Berechnet das Minimum aller Werte für das ausgewählte Drilldown-Attribut

M_NAME@MIN

@MAX

Berechnet das Maximum aller Werte für das ausgewählte Drilldown-Attribut

M_NAME@MAX

@AVG

Berechnet den Durchschnitt aller Werte für das ausgewählte Drilldown-Attribut

M_NAME@AVG

@MEDIAN
Berechnet den Median aller Werte für das ausgewählte Drilldown-Attribut
M_NAME@MEDIAN

@DC

Calculates the distinct count of all values for the selected drill-down attribute

M_NAME@DC

Counting of level members

Each drill-down level is represented by particular members, for example the level City contains members like Berlin, Paris, New York etc. To get the count of these members, use the following syntax:

Code Block
L_NAME_COUNT //L_NAME represents the level code (prefix L like level)
L_NAME_DCOUNT //to get the unique count use the _DCOUNT suffix instead

Next Steps