外部名稱
Essbase 報表寫入器 OUTALTNAMES 命令會顯示報表中成員的別名。
OUTALTNAMES 可與 OUTMBRNAME 搭配使用,以在報表資料列中的成員名稱與別名之間切換。
成員名稱 (而非別名名稱) 是報表的預設值。
語法
{ OUTALTNAMES }注意
-
OUTALTNAMES 不能用於重複的成員大綱。請參閱 REPALIAS 。
-
OUTALTNAMES 是一個設定命令。
-
OUTALTMBR 或 OUTMBRALT 指令可用來重新定義替代名稱定義。
範例
下列範例是以 Sample Basic 為基礎。
{WIDTH 15}
//{OUTALTNAMES} If used (commented out), displays alias names for column headers
<PAGE (Measures)
Sales
<COL (Year, Market, Scenario)
Jan Feb Mar
East Actual
<ROW(Measures)
{OUTALTNAMES}
// These members display with aliases.
<IDESCENDANTS "100"
{OUTMBRNAMES}
// These members display their member names as defined in the outline.
<IDESCENDANTS "200"
{OUTALTNAMES}
// Switches back to alias names, as defined in the current alias table.
<IDESCENDANTS "400"
!此範例會產生下列報表:
Sales East Actual
Jan Feb Mar
============== ============== ==============
Cola 1,812 1,754 1,805
Diet Cola 200 206 214
Caffeine Free Cola 93 101 107
Colas 2,105 2,061 2,126
200-10 647 668 672
200-20 310 310 312
200-30 #Missing #Missing #Missing
200-40 896 988 923
200 1,853 1,966 1,907
Grape 562 560 560
Orange 219 243 213
Strawberry 432 469 477
Fruit Soda 1,213 1,272 1,250