@MEMBERAT
Essbaseの@MEMBERAT計算関数は、メンバーのリスト内の指定されたメンバーを返します。
構文
@MEMBERAT(mbrList, mbrIndex)パラメータ
ノート
mbrIndexが0または範囲外の場合、スクリプトまたはメンバー式は検証中または実行時に失敗し、エラーを返します。
例
次の例は、Sample.Basicデータベースを使用します。
@MEMBERAT(@CHILDREN("Colas"), 2);は、100-20 (Diet Cola)を返します。
Sales = @ MEMBERAT(@CHILDREN("Total Expenses"), -1);The value of the member Misc is assigned to Sales, because Misc is the last child of Total Expenses, and the mbrIndex of -1 causes this function to select the last member in the list.
@MEMBERAT(@CHILDREN("100-10"), 1);@CHILDREN("100-10")は空のリストであるため、エラーを返します。
参照