Forum Discussion

OneWithQuestion's avatar
OneWithQuestion
Post Prodigy
8 years ago
Solved

What happens when you duplicate a query table, does the query run twice?

In the Power Query editor, if I right click on a table and select duplicate, does it run the raw source query twice, once for the first table and again for the duplicate?

 

Is it possible to run the source query just the one time, populate both tables with the single run, and progress from there?

  • Anonymous's avatar
    Anonymous
    8 years ago

    From my own experience, duplicate does appear to do exactly that.  It duplicates.  Another avenue to test, bring the table in once and then use "Reference".  This should make your source line something like:  Source = #"TableName"

     

    This means you could have your table brought in the first time, do any common clean up steps and then reference it from that point into 1 or more tables that need to diverge from that point.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    From my own experience, duplicate does appear to do exactly that.  It duplicates.  Another avenue to test, bring the table in once and then use "Reference".  This should make your source line something like:  Source = #"TableName"

     

    This means you could have your table brought in the first time, do any common clean up steps and then reference it from that point into 1 or more tables that need to diverge from that point.