Bug 63395

Summary: Unable Refresh Power Pivot
Product: POI Reporter: RatiKanata Pal <pal.ratikanta>
Component: SXSSFAssignee: POI Developers List <dev>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P2    
Version: 3.17-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Template
Java File

Description RatiKanata Pal 2019-05-02 06:45:28 UTC
Created attachment 36557 [details]
Template

Hi,

In my application I am using Power Pivot .I am reading the excel and putting data in the table .I am able to do that.But while opening the File pivot gets refreshed and taking lot of time .

I want to refresh the table before saving.
Comment 1 RatiKanata Pal 2019-05-02 06:45:53 UTC
Created attachment 36558 [details]
Java File
Comment 2 Greg Woolsey 2019-05-06 17:15:54 UTC
This isn't really a bug report or feature request.  As it is a usage question, it is better suited for the POI users mailing list.

That said, there is no code in POI to refresh a pivot table.  You would need to do that yourself in your code, making use of the POI formula evaluation framework to manually recalculate the pivot table and update the appropriate pivot table data structures. 

You are better off letting Excel do that, and perhaps refining the dataset and formulas to improve performance.