PivotTable.AllocationMethod Propriété

Définition

Obtient ou définit la méthode à utiliser pour allouer des valeurs lors de l’analyse de situation sur un rapport de tableau croisé dynamique basé sur une source de données OLAP.

public:
 property Microsoft::Office::Interop::Excel::XlAllocationMethod AllocationMethod { Microsoft::Office::Interop::Excel::XlAllocationMethod get(); void set(Microsoft::Office::Interop::Excel::XlAllocationMethod value); };
public Microsoft.Office.Interop.Excel.XlAllocationMethod AllocationMethod { get; set; }
Public Property AllocationMethod As XlAllocationMethod

Valeur de propriété

XlAllocationMethod

XlAllocationMethodObjet.

Remarques

En lecture/écriture

La propriété correspond au paramètre Méthode d’allocation dans la boîte What-If AllocationMethod dialogue Analyse Paramètres. Le paramètre par défaut xlEqualAllocation est , qui correspond au paramètre Allocation égale. Si la propriété est définie sur , ce qui correspond au paramètre d’allocation pondérée, vous pouvez éventuellement spécifier l’expression de pondération à utiliser en AllocationMethod xlWeightedAllocation AllocationWeightExpression définissez la propriété. Si vous ne spécifiez pas d’expression de poids, une expression de poids équivalente à la valeur de cellule < feuille > / < existante > est utilisée.

S’applique à