+ Reply to Thread
Results 1 to 3 of 3

Power Pivot Linked Tables Refresh

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    43

    Power Pivot Linked Tables Refresh

    Hi there,

    I'm hoping I can leverage the collective.

    Issue:

    I am using power pivot to join tables that I need to make the pivots work properly. I've set the pivots to update on entry and that didn't work.

    I had to manually go to power pivot and refresh all the linked tables then run a refresh.

    Dim xWs As Worksheet
    Dim xTable As PivotTable
    For Each xWs In Application.ActiveWorkbook.Worksheets
    For Each xTable In xWs.PivotTables
    xTable.RefreshTable
    Next
    Next

    I tried to cheat and record a macro of me doing the linked table refresh but it didn't record.

    Do you know of a way to update the linked table via VBA?

    If so, please let me know.

    Thank you in advance.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Power Pivot Linked Tables Refresh

    If you have 2013 it is simple, but 2010 gets a bit more wonky.

    http://www.tomgleeson.ie/posts/20140...BARefresh.html
    http://sqlblog.com/blogs/marco_russo...-in-excel.aspx
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    04-15-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Power Pivot Linked Tables Refresh

    2010, yup.
    Oh my. That is dirty huh.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 02-16-2016, 05:34 AM
  2. pivot tables vs. power pivot for large data set
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 02-08-2016, 05:40 PM
  3. [SOLVED] is power pivot faster than regular pivot tables
    By stephme55 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-27-2016, 01:21 PM
  4. Automatically refresh source data in Power Pivot Window
    By rv02 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-15-2015, 11:49 AM
  5. [SOLVED] Question on Updating my Pivot Tables and Power Pivot in my workbook
    By rv02 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-29-2015, 06:08 PM
  6. [SOLVED] Power Pivot join tables question
    By ericedholm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2013, 10:53 AM
  7. Date formats in pivot tables using power pivot in Excel 2010.
    By myobreportguru in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-25-2013, 10:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1