Hyperion Essbase BusinessRule 函数学习--2
2013-07-27 21:06
417 查看
@AVG
Returns the average of all values in expList.【返回表达式列表的平均值】
Syntax
@AVG (SKIPNONE | SKIPMISSING | SKIPZERO | SKIPBOTH, expList)
Parameter | Description |
SKIPNONE【从不忽略】 | Includes all cells specified in the average operation regardless of their content. 【不论内容如何,对所有指定的单元进行平均操作】 |
SKIPMISSING【忽略Missing】 | Excludes all values that are #MISSING in the average operation. 【除missing外,进行平均操作】 |
SKIPZERO【忽略0】 | Excludes values of zero from the average calculation. 【除0外,进行平均操作】 |
SKIPBOTH【忽略0和missing】 | Excludes all values of zero or #MISSING from the average calculation. 【除0或missing外,进行平均操作】 |
expList【表达式列表】 | Comma-delimited list of member names, variable names, functions, or numeric expressions. expList provides a list of numeric values across which the average is calculated. 【用逗号分开成员名称,变量名称,函数或数字表达式清单。对表达式列表提供一系列数值与其交叉进行平均计算】 |
The following example is based on the Sample Basic database. The calculation averages the values for the individual states making up the western region and places the results in West:
【如下实例基于“Sample Basic”数据库。由单独的州数据计算出西部区域的平均值】
FIX(Sales)
West=@AVG(SKIPNONE,California:Nevada);
ENDFIXThis example produces the following report:
Sales Jan Actual
Cola Diet Cola Caffeine Free Cola
==== ========= ==================
California 678 118 145
Oregon 160 140 150
Washington 130 190 #MI
Utah 130 190 170
Nevada 76 62 #MI
West 234.8 140 93
相关文章推荐
- Hyperion Essbase BusinessRule 函数学习--2
- 学习thinkPHP 笔记(1)————————数据库操作 自写函数getbaseWhere() 和 where等操作
- 对get_baserel_parampathinfo函数的学习
- Hyperion essbase series
- SODBASE CEP学习(十七):自定义函数开发
- android源码函数学习之basename与dirname
- MDX Solutions : with Microsoft SQL Server Analysis Services 2005 and Hyperion Essbase
- Android 学习笔记之AndBase框架学习(四) 使用封装好的函数实现单,多线程任务
- Android 学习笔记之AndBase框架学习(三) 使用封装好的函数完成Http请求..
- SODBASE CEP学习(十三):EPL常用函数
- python学习返回函数(闭包)
- C++学习笔记之函数如何返回字符串(char型)
- spark学习-SparkSQL--09-一些函数的使用
- JAVA函数学习
- 【安卓学习笔记】JAVA基础Lesson4-函数重载与构造函数
- 学习Python 第一弹——基础函数汇总
- python学习之函数
- C语言学习入门 (七) 变量与函数,static和extern关键字
- Lua和C++交互 学习记录之六:全局函数交互
- [学习笔记]Python 常用函数