Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
Can you please let me know the difference between Copy, Duplicate & Reference in Query Editor?
Solved! Go to Solution.
Sure.
1) When you press COPY then you can paste this query many times using PASTE option. As result you receive the same query with same connection and transformations. No connection to initial query.
2) When you press DUPLICATE you can have only 1 copy of query at one time. To repeat this action you need to press DUPLICATE one more time. As result you receive the same query with same connection and transformations. No connection to initial query.
3) If you press REFERENCE then it uses previous query as reference and apply all new steps based on reference query. Once you change initial query then it will automatically apply to dependent query. You can have many dependent queries which will change automatically once intial one is updated.
I hope it is clear.
Sure.
1) When you press COPY then you can paste this query many times using PASTE option. As result you receive the same query with same connection and transformations. No connection to initial query.
2) When you press DUPLICATE you can have only 1 copy of query at one time. To repeat this action you need to press DUPLICATE one more time. As result you receive the same query with same connection and transformations. No connection to initial query.
3) If you press REFERENCE then it uses previous query as reference and apply all new steps based on reference query. Once you change initial query then it will automatically apply to dependent query. You can have many dependent queries which will change automatically once intial one is updated.
I hope it is clear.
Adding a point here:
Copy-pasting Query vs Duplicating Query
If a query consists of several queries with dependencies between them, when copying/pasting, all
dependent queries are copied as well.
Suppose in Power Query if we create a function "F" and then use that function in a query "Q":
Regarding Reference - if I filter a table within the Query Editor and afterwards reference this table, will the new table (created by the reference) keep this same filter or will I have to filter both?
@Anonymous,
You can apply any transformation on first table (including filters) and then all reference tables will be affected.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
40 |