PivotTable.AllocationWeightExpression 属性

定义

获取或设置基于 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

适用于