Could you provide us your input and output Excel file (after using the code segment), we will check it soon. Also give us your expected file which you could create/update in MS Excel manually.
Find attached some sample input and expected output. In all I simply want to show the top level row data. This can be done either by removing the subtotals or collapsing the hierarchical tree.
Well, your underlying PivotTable’s data source in you template files is some external Excel file. Please note, the Aspose.Cells APIs currently do not support Pivot Table recalculations/manipulations in case the data source is external. However, if the data source resides in the same spreadsheet, you can manipulate or refresh the Pivot Tables accordingly.
Thank you.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.