Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Power BI Duplicate Table: How to Copy Your Data

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To duplicate a table in Power BI, open the Power Query Editor, right-click the desired table in the Queries pane, and select Duplicate. This creates an exact copy of the table, including all its applied transformation steps, allowing you to modify the new version without altering the original data source or its existing cleanup steps.

Duplicating a table is a fundamental technique for data modeling. It is most commonly used when you need two different versions of the same dataset—for example, one table that keeps all raw transaction details and another that is filtered or aggregated for a specific high-level report. By duplicating the table, you ensure that any changes made to the "child" table do not overwrite the logic of the "parent" table.

What You'll Need

  • Power BI Desktop installed on your computer.
  • A dataset already loaded into your Power BI file.
  • Access to the Power Query Editor (Transform Data).

Step-by-Step

  1. Open your Power BI Desktop file.
  2. On the Home tab of the top ribbon, click the Transform data button. This will launch the Power Query Editor in a separate window. Note that menu labels may vary slightly depending on your version of Power BI.
  3. Locate the Queries pane on the left side of the screen. This pane lists all the tables currently connected to your report.
  4. Right-click on the name of the table you wish to copy.
  5. From the context menu that appears, select Duplicate.
  6. A new table will appear in the Queries pane, typically named with the original table name followed by a number (e.g., "Sales (2)").
  7. Right-click the new table and select Rename to give it a descriptive name that reflects its purpose (e.g., "Sales_Filtered").
  8. Apply any additional transformations, filters, or column removals to this new table.
  9. Once finished, click Close & Apply in the top-left corner of the ribbon to load the duplicated table into your data model.

Common Mistakes

One of the most frequent errors is confusing Duplicate with Reference. While they look similar, they function differently. When you duplicate a table, Power BI copies every single step from the original query. If you change a step in the original table later, the duplicated table will not update. If you want the second table to always stay in sync with the first, you should use "Reference" instead.

Another common mistake is duplicating tables excessively. Every duplicated table creates a separate connection to the data source and consumes additional memory. If you have a massive dataset, creating five or six duplicates of the same table can significantly slow down your report's refresh time and increase the file size.

Tips

  • Use for Backups: Before performing a complex series of transformations that might be hard to undo, duplicate the table. This gives you a "safe" version to return to if your logic fails.
  • Naming Conventions: Always rename your duplicated tables immediately. Using names like "Table (2)" or "Table (3)" makes the data model confusing and difficult to manage as your report grows.
  • Disable Load: If you only need a duplicated table as an intermediate step for merging or appending other data, right-click the table in the Queries pane and uncheck Enable load. This keeps the table in Power Query for processing but prevents it from cluttering your final report view and saving memory.

Troubleshooting

If the Duplicate option is greyed out or not responding, first ensure that you are actually inside the Power Query Editor window and not just looking at the "Data" view in the main Power BI Desktop interface. You cannot duplicate tables from the main report canvas; it must be done via Transform data.

If you encounter an error during the "Close & Apply" phase after duplicating, check for naming conflicts. Power BI cannot load two tables with the exact same name into the data model. Ensure your duplicated table has a unique name.

If the duplicated table is taking too long to load, check the "Applied Steps" pane on the right. Since duplication copies all steps, you might be repeating heavy computations twice. Consider removing unnecessary steps from the duplicated version to improve performance.

Frequently Asked Questions

What is the difference between Duplicate and Reference?

Duplicate creates a standalone copy of the query and all its steps; changes to the original do not affect the duplicate. Reference creates a new query that links to the original; if the original table is updated, the referenced table updates automatically.

Does duplicating a table increase my file size?

Yes. Because Power BI loads the data for each table into memory, duplicating a table essentially doubles the amount of memory required for that specific dataset in your model.

Can I duplicate a table that is already a reference?

Yes, you can duplicate any query listed in the Queries pane, regardless of whether it was originally imported or created as a reference to another table.

How do I delete a duplicated table if I no longer need it?

In the Power Query Editor, right-click the table in the Queries pane and select Delete. Confirm the deletion when prompted, then click Close & Apply.

Will duplicating a table duplicate the relationships in the Model view?

No. Duplicating a table only copies the data and the transformation steps. You will need to manually recreate any relationships (links) between the duplicated table and other tables in the Model view.