Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors