Home Forums Power Pivot Incrementally updating Excel Power Pivot?

This topic contains 3 replies, has 2 voices, and was last updated by  Charley 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17980

    Charley
    Participant
    • Started: 10
    • Replies: 7
    • Total: 17

    Because Power Query can’t import data from Power Pivot, there’s no way to append new data to existing data in Power Pivot.

    Correct?

    If so, the only way to incrementally update Power Pivot in Excel is to maintain a collection of workbooks in a folder, where each workbook uses Power Query to update an Excel *Table*. And then we use Power Query to refresh Power Pivot by appending the data from all of those workbooks.

    Correct?

    Or is there a more elegant way to incrementally update Power Pivot in Excel?

    #17981

    Charley
    Participant
    • Started: 10
    • Replies: 7
    • Total: 17

    I just thought of another way…

    Under macro control, we probably could control a PivotTable that reads the Power Pivot data one chunk at a time, then appends the data to Power Query. Finally, the new data could be appended to that PQ table, and then the incrementally updated query could write everything back to Power Pivot.

    By the way, there could be several reasons for needing to do this…

    …The data in PP no longer is available elsewhere. So we need to append new data to the existing data.

    …The data comes from the web and might require *hours* to do a full–and unnecessary–refresh.

    …The data comes from the web and we want to minimize how frequently we access data from a certain site.

    Any thoughts?

    #17983

    tomallan
    Keymaster
    • Started: 7
    • Replies: 2566
    • Total: 2573

    A couple of ways to handle this scenario:

    1. Create a folder dedicated to the files that make up the chunks of your reporting dataset, and then import into the Power Pivot window using Power Query’s import from folder option.

    2. Store the chunks of data into a data store like SQL Server or Access, and then import into the Power Pivot window using a connection to the data store.

     

     

    #17984

    Charley
    Participant
    • Started: 10
    • Replies: 7
    • Total: 17

    Tom,

    Your suggestion #1 is exactly what I had in mind with my first message. The VBA solution probably would be more flexible, but more work to build.

    Now that I know that I’m not missing something obvious, I’ll set up a bunch of workbooks. Because the source refreshes each dataset at different times, I’ll set it up so that each workbook contains data with approximately the same refresh date.

    Thanks!

    Charley

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.