Results 1 to 2 of 2

Thread: Multiple table in PowerPivot with PowerQuery

  1. #1

    Multiple table in PowerPivot with PowerQuery



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi Ken,

    I am working on one project which require same data source but cut slightly 4 to 5 times.

    I have started use Power Query now and know that I can create connection to source data from Power Query and then link it to Power Pivot.

    My question is now that is it possible to wash and transform data inside only one Power Query (with diff. steps) and some of those steps from Power Query link to 5 tables in Power Pivot table.

    so when I refresh Power Query it refresh only once and update 5 to 6 tables inside Power Pivot.

    I have done it already with 5 seperate Power Queries but when I am trying to refresh data it refresh 5 time.

    Thanks.

    Harry

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,343
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    For sure you can.

    Create your main query that does the majority of the collection/transformation work. You should do as much as you can here as is common to all the outputs. Mark this query as Connection Only. Then:

    In either the Workbook Queries pane or in the Power Query Explorer window (left side of the PQ interface), right click the query and choose "Reference". That will create a new query that points at the previous query.

    What will happen at refresh is that the initial "Staging" query will be refreshed, and then all subsequent queries will update from that.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

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