Just wondering if this feature works in the Aspose Library. Trying to refresh two pivot tables after a cell update and it seems that the refresh does not update the calculated values. Will this not work…
public void RefreshPivotTables(string worksheet, string pivotTableName)
…of course the names I am providing are actual names of worksheets. This is effectively doing nothing though. Anyone have any examples of working code or a way to prove to me that the code works and there is something wrong with me?
…this seemed to get me the updated values. Not sure if that is the way to do it, or why this combination is required. Any additional light on the subject would be welcome. Thanks!
Thanks for sharing us the issue with good description and code snippets and using Aspose.Cells.
Your last approach is the best approach and recommended approach, you must first calculate the formulas then you can refresh your pivot table and call calculate data method. Let us know if you encounter any other issue, we will be glad to look into it and help you asap.
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.