PivotTable.AllocationWeightExpression 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置基于 OLAP 数据源对数据透视表执行 What-if 分析时要使用的 MDX 权重表达式。
public:
property System::String ^ AllocationWeightExpression { System::String ^ get(); void set(System::String ^ value); };
public string AllocationWeightExpression { get; set; }
Public Property AllocationWeightExpression As String
属性值
基于 OLAP 数据源对数据透视表执行 What-if 分析时使用的 MDX 权重表达式。
注解
读/写。
属性 AllocationWeightExpression 对应于“What-If 分析设置”对话框中的“权重表达式”设置。 AllocationWeightExpression在设置属性之前,必须将 属性AllocationMethod设置为 xlWeightedAllocation。