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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
admin11
Memorable Member
Memorable Member

How to copy sales table from one PBI file to another PBI file ?

Hi All

 

I have a PBI file , which unable to refresh , so i like to copy the SALES table from power quary to another new PBI file , As you notice that right side the red color box , it have more then 20 row. like rename the column and change the date format etc.

admin11_0-1646483521053.png

It is possible for me , by just copy the code from advance editor :- 

admin11_1-1646483675658.png

Hope some one can advise me.

 

Paul

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi ,


Do you want to debug the error query or just copy the correct query to another file?

If  just copy the correct query to another file,please try below steps:

Select queries you want to copy from file 1 >  after that Right click and Copy the queries. Using ctrl + click you can select multiple queries.

Now go to file 2, and open Power Query Editor.

After that right click on blank area and paste the queries.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Employee
Employee

You can copy the M code from the Advanced Editor to a new blank query (or you can just right click on the query on the left and choose copy and then paste it into the same place in a new file), but if you are unable to refresh the data, you wouldn't be able to do it in the new file either.

 

If you need to export the data from the report, you can use DAX Studio. You can export it as a csv and bring it into a new pbix file with the Text/CSV connector.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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