Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pivot problem
Message
De
17/08/2011 04:40:00
Mk Sharma
Shrishti Solutions
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Pivot problem
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01521161
Message ID:
01521161
Vues:
89
i am using %of in pivot table, but it is showing #DIV/0! as this image.

http://www.foxite.com/uploads/df354788-9eca-4440-b868-d126c1c6e82d.jpg

how to solve this
** code for %of
oChangeField=oPivotTable.AddDataField(oPivotTable.PivotFields("netamt"), "avg_sales")
oChangeField.Calculation= 3  && xlPercentOf
oChangeField.BaseField="yearname"
oChangeField.BaseItem="(previous)"
Warm Regards,
mk.
Répondre
Fil
Voir

Click here to load this message in the networking platform