Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Advocate II
Advocate II

Copy a Query from one PowerBI file to another

Does anyone know how (if it is possible) to copy a query from one PowerBI file to another. I have a query that pulls data from CRM (Account Set) that I have customized (i.e. modified values, data types, calculated columns, etc.) that I would like to copy into a different powerBI file instead of having to redo the same query.




Since December in the queries editor you can simply right click->copy and then right click->paste into the target pbix

Cool, I hadn't seen passed this feature.

Thx @pqian



Impactful Individual
Impactful Individual

If you edit the query, select advanced editor from the ribbon, then just copy the code and do the reverse in the new file


I often save mine to text files for easy reference and transfer

Helpful resources


Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.