Bewerken

Delen via


ValueChange.AllocationWeightExpression Property

Definition

Gets the MDX weight expression to use for this value when performing what-if analysis.

public:
 property System::String ^ AllocationWeightExpression { System::String ^ get(); };
public string AllocationWeightExpression { get; }
Public ReadOnly Property AllocationWeightExpression As String

Property Value

The MDX weight expression to use for this value when performing what-if analysis.

Remarks

Read-only.

The AllocationWeightExpression property corresponds to the Weight Expression setting in the What-If Analysis Settings dialog box for a PivotTable report based on an OLAP data source as it was set at the time that this change was originally applied. If the specified ValueChange object was created by using the Add(String, Double, Object, Object, Object) method of the PivotTableChangeList collection and the corresponding AllocationWeightExpression parameter was not supplied, the default weight expression of the OLAP server is returned.

Applies to