WPS 基础接口
>
表格 API 参考
>
枚举
>
XlAllocationMethod 枚举
XlAllocationMethod 枚举
指定在对基于 OLAP 数据源的数据透视表执行模拟分析时,要用来分配值的方法。
名称
值
说明
xlEqualAllocation
1
使用平均分配。
xlWeightedAllocation
2
使用加权分配。
说明
如果
AllocationMethod
属性设置为
xlWeightedAllocation
,可以选择设置
AllocationWeightExpression
属性来指定要使用的加权表达式。