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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mbegg
Helper II
Helper II

Move data source from one report to another

Hi, 

 

I have used Query editor to build a data source combining multiple tabs from multiple .xlsx files from multiple folders. 

 

 

There are 23 individual queries that all merge together at the end into 1 table.

 

Is there anyway I can export the whole thing into a Power BI report that already has charts set up for this data

 

I want to avoid rebuilding each query 1 by 1

1 ACCEPTED SOLUTION

Select all queries, right click, copy.  I confirmed that you can then paste this into a new pbix and it works.

View solution in original post

4 REPLIES 4

Did you create this in Power Query in Excel?  Or are you trying to move the query from one pbix file to another?

 

Either way, you can always copy and paste the M code from the advanced editor for each query to recreate your data model in Power BI.  You can also copy all M code at the same time and then see if you can paste it into the pbix, but I'm not sure that it will create multiple different queries or try to do it all in one.

@dkay84_PowerBI

 

I created it in Power BI Query. 

 

Yes I can copy the M code from each query indivudally, however how do I get all the M code across multiple queries at once?

Select all queries, right click, copy.  I confirmed that you can then paste this into a new pbix and it works.

@dkay84_PowerBI thanks very much, that is great!

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.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.