PowerPivot Calculation

lrobbo314

Well-known Member
Joined
Jul 14, 2008
Messages
3,957
Office Version
  1. 365
Platform
  1. Windows
I created a spreadsheet with 5-6 different pivot tables, each with its own pivot chart.

Then I started playing with doing the same thing only with PowerPivot.
So, I was able to add my tables to the data model and recreate my pivot tables and charts.
The only thing is that it is so much slower than the first method.
I am not dealing with a lot of data either. I'm talking about hundreds of records, not thousands.
If I hit "Refresh All" Excel will go for at least 10 seconds with the cursor turning into the thinking wheel and the status bar saying "Reading Data Hit ESC to Cancel".
Why is it doing this? I can't imagine it should be so slow. If I change the values on the slicer for the dates, it updates my charts in about a second or so, but it is still noticeably slower than the first option.
Maybe it has something to do with the table relationships. I don't know. I have a table for manpower and a table for traffic. Each has 3 relationships in total. 1 to a date table, 1 to a zone table, and 1 to a shift table. So, between the 2 tables there are 6 joins in total.
Does anyone have any thoughts about this?
Thanks in advance for the help. PowerPivot is pretty new for me.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hopefully some folks with more experience will chime in but a couple of points:

1. How have you added data (tables) to the data model? Have you used linked tables or imported as a data connection?
--> If you used Linked tables, try starting a new Excel file and in PowerPivot using Get External Data > From Other Sources and use Excel table, then open the source file(s) and import each data table individually
2. Have you created measures using PPT or are you using implicit measures (ie dragging a number field from a table onto the Values area of the pivot)?
--> If using explicit (ie one you have created) measures, perhaps post the code here so it can be reviewed.
3. Are you using Refresh All from the PivotTable menu, or the PowerPivot window? One refreshes the pivots, one refreshes the data. If refreshing the data is slow with small tables, that sounds like a network connectivity issue. If refreshing Pivot tables, then I suspect (1) above is in play.

Cheers
Phil
 
Upvote 0
Thanks for the reply.
I added 2 tables that are in an access database. There are 3 other tables that I added that are on an excel sheet, but they are small tables. They are my tables with unique values actually.

I created measures, I think. That is to say, I made formulas in PowerPivot that I use in my pivot tables. They are in the calculation area. I think that's 2 hat measures are, right?

Having said that, I also dragged and dropped items into the values area that were just columns in my table.

I refreshed all from excel, which was what took a long time. It can't be network connectivity because thus is all on local drives.

I can post some of what's in the ppvt calculations tomorrow when I get to work.

Thanks again.
 
Upvote 0
Based on all of that I probably cannot help you further, as you seem to have things set up as I would expect. Hopefully someone else will have some thoughts. Still post more detail when you get a chance though, the more info the better for people to offer suggestions.

Cheers
 
Upvote 0

Forum statistics

Threads
1,224,054
Messages
6,176,107
Members
452,707
Latest member
Cruzito

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top