Reply
Regular Visitor
Posts: 18
Registered: ‎02-19-2016

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.

 

 

Highlighted
Established Member
Posts: 147
Registered: ‎09-30-2015

Re: Copy a Query from one PowerBI file to another

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

Senior Member
Posts: 252
Registered: ‎12-07-2015

Re: Copy a Query from one PowerBI file to another

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

Member
Posts: 69
Registered: ‎09-23-2015

Re: Copy a Query from one PowerBI file to another

Cool, I hadn't seen passed this feature.

Thx @pqian