Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Excel

The team blog for Microsoft Excel and Excel Services.
Help us make Excel PivotTables faster …

A long time ago, I posted a request for calculation-intensive workbooks and received a lot of very valuable Excel workbooks in response – again, to those that helped out; it helped the Excel team optimize calculation performance around real-world usage.

Currently, the Excel team is thinking about PivotTable performance, and we are looking for examples of large Excel PivotTables to help with our work.  Given all the different features of PivotTables that can affect performance, we are always looking for good customer examples of PivotTables to help us optimize performance.  So, once again, we would like to appeal to folks to send in workbooks with calculation-intensive or long-running PivotTables that they would like us to use as part of our performance tuning work.

Specifically, we are looking for PivotTables that take some time to calculate (say anything over 3-5 seconds, with no upper bounds ... someone recently sent me one that took many minutes).  We are interested in both refresh being slow as well as any other operations done on the PivotTable seeming slow. Of course, if the data that the PivotTable is based on is not present in Excel, we may need more than just the workbook (unless it is connected to an OLAP data source).  Anything goes with respect to features used in the PivotTable.

Anything submitted will be treated as 100% confidential and used only for PivotTable performance work.  Folks can either email the files to me (with any explanations necessary) using this email address: xlfiles@microsoft.com, or if email will not work, we can sort out other arrangements.  Once we have the workbooks, we baseline their performance in Excel on a set of test machines and determine which performance optimizations will give PivotTables the greatest benefit.

Thanks in advance to anyone that sends in workbooks. 

PS Since this post has a limited lifespan, I will probably remove it at some point in the future.

Posted: Monday, April 23, 2007 4:12 PM by David Gainer

Comments

Tim said:

Hi David

I actually have another question about pivot tables. unfortunately i cannot send the ones im talking about to you due to both client confidentiality and also the external datasources.

the problem i have is that this client has inherited some excel files with large pivot tables based on external datasources. We are trying to work out just what queries these pivot tables are built from. we know the database name but not the queries. is there any way in excel we can work that out?

# April 23, 2007 8:45 PM

David Gainer said:

In Excel 2007, the following should do the trick:

Data tab > Connections > select the connection used by the Pivot > Properties > click on the Definition tab :: the query is in the "Command Text" box.

# April 23, 2007 9:04 PM

onovotny said:

I mentioned this at the Birds of a Feather session at the last PDC, but one feature that would be very useful in the financial space is if PivotTables (and their related charts) could recalculate based off of the Real Time Data interface.

Using the RTD API, suppose I pipe in live order data combined with live market data.  I'll want to put that into a pivot table and chart the results.  But I want the charts and the pivot tables to be "live" -- no hitting refresh, just update as the underlying data is updated.

--Oren

# April 23, 2007 10:49 PM

onovotny said:

Er, sorry, not the Birds of a Feather -- it was at the experts roundtable with the dev team that one evening over dinner (Thurs?)

# April 23, 2007 10:49 PM

gay keramidas said:

how about just some simple code that loads a series of workbooks and takes 5 times longer in vista/o2k7 than it takes in xp/o2k3?

where can we send this? this is totally unacceptable to me.

# April 24, 2007 1:57 AM

David Gainer said:

gay keramidas - yes, I would be happy to have someone take a look at your code.  Please use the same email address.

# April 24, 2007 2:29 AM

David Gainer said:

onovotny - thanks for the feedback.

# April 24, 2007 2:29 AM

Matthew Carter said:

I have uploaded a test file that has a problem for us and has HALTED our use of Office 2007 as we found that we have a problem with files that set our dual core 2.2GHz 1GB RAM Vista Business x32 systems to a stand still with SATA II drives, with 128MB Shared video.

ftp://Microsoft:Microsoft@ftp2.nuvera.com

or

ftp://Microsoft:Microsoft@ftp2.nuvera.com/Excel%20Large%20Chart%20Example.xlsx

This is from a user who worked on this files and gave me this.  I emailed this to Microsoft, but I wanted to see if someone could help me with it.

"Hi Matt –

A test file is attached for the Excel 2007 problem. I tried to keep it short enough that it only locks up the application for a minute or two, rather than half an hour.  To see the  problem, open the file, switch to the “Chart” tab, and try to select one of the lines on the plot. Usually two or three clicks is enough to bring up the shiny spinning circle of doom. At this point, at least one processor core should crank up to 100% load, and Excel won’t respond for a little while.

Let me know if the file produces the expected result."

email me at register@@nuvera...com

# April 25, 2007 4:11 PM

Tim said:

Thanks David

Is there a similar function in o2k3 for the external datasaource query question?

# April 25, 2007 9:17 PM

gary keramidas said:

sent my files but the email was returned. i sent them again using another of my emaill accounts, and hopefully you received them.

# April 26, 2007 1:33 AM

David Gainer said:

Matthew - receioved files, someone from team will be in touch.

Gary - nothing as of yet.  Try sending email w/o attachements to see if that works.  I have received other files.

Tim - I don't have 2003 installed ... give me a day or two.

# April 26, 2007 2:04 AM

gary keramidas said:

ok, i tried to send from my hotmail account, one with and one wihout the attachment (a zip file)

let me know if you receive either one.

# April 27, 2007 1:39 AM

Jim Jones said:

Hi, I have an unrelated request.

I was wondering if you could make the preview window in the text import wizard bigger in the next version of Excel. It's difficult to properly place the fixed width separators for many reports I have with such a small preview window.

thanks

# May 6, 2007 10:08 PM

David Gainer said:

Jim - thanks for the feedback.  No promises, but I will pass the feedback along.

# May 7, 2007 1:15 AM
New Comments to this post are disabled
Page view tracker