Hi,
I created a simple document with Pivot Table in *.xlsx and *.xlsb format. It’s the same document converted from *.xlsx to *.xlsb by Excel, but Aspose.Cells returns different state for ‘IsCalculatedField’ field in base and data fields.
BaseField - ‘Field1’, DataField - ‘Field1’
*.xlsx
IsCalculatedField = true
*.xlsb
IsCalculatedField = false
PivotFieldCollection pfc = pt.BaseFields; // the same for ‘DataFields’
for (int i = 0; i < pfc.Count; i++)
{
PivotField pf = pfc[i];
// my inner printing method
printLine(“IsCalculatedField”, pf.IsCalculatedField.ToString(), SPACE4);
}
I use Excel 2010 and Aspose.Cells v7.3.5.1.
Best regards,
Alex Shloma