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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Export all source files

Good day. Is there a way to extract all source files from a powerBI project without manually clicking into each table?  I have 6 projects wth approx 30 tables each, it will take me a lifetime to do it manually. Many thanks in advance

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

I think this is what you need:

https://m.youtube.com/watch?v=-Gfgnk6R0Qw



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

11 REPLIES 11
smpa01
Community Champion
Community Champion

@Anonymous  what do you exactly mean by - Is there a way to extract all source files from a powerBI project

 

Do you want to extract all the source data/source query?

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

I'm trying to extract all source tables/source data

smpa01
Community Champion
Community Champion

@bcdobbs @GilbertQ does DMV have anything that gives the data for all 30 tables at once? I doubt it, but need your expertise here.

 

@Anonymous  my two cents - alternatively, you can create a power query and run a ssas query with following DMV query that will generate all the source code query at once and then you can run each of them seperately to get to the data.

 

smpa01_0-1639758622865.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
bcdobbs
Community Champion
Community Champion

I can't think of anything in DMV that would help apart from what you've given.

Did wonder if you could dynamically run each returned row from the query you give and throw the whole lot into JSON but not really sure what is gained.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

Struggling to picture how this would look / what you need as an output @Anonymous 

 

You have a number of projects each with a number of tables. Do you want the data that power bi has loaded in it's model or the raw source data from underlying sources before it goes through power query transformation.

 

Either way do you then want to end up with a spreadsheet with a tab per source?



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Anonymous
Not applicable

I can't make this any clearer than I have unfortunately.

 

So I have a bunch of powerbi projects from a third party. They will not provide the raw data files, so I have to extract each individual table from each project.  Ie go into each table view; right click; copy table and then paste into excel. It's a long and tedious process and each of the 6 projects has approx 30 tables.

 

I'm looking for a way to make this process a bit easier

Ok think I'm understanding!

 

@amitchandak is right I'd install DAX studio. Once in there for each table execute:

EVALUATE TableName

Will return all data and you should have an option to save to csv.

 

I'm sure you can write a script to automate at least some of that. Will have a look and send some step by step instructions if i come up with anything.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

I think this is what you need:

https://m.youtube.com/watch?v=-Gfgnk6R0Qw



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Anonymous
Not applicable

Thanks for the input. I'm new to PowerBI so, I have no clue how this would work. I'll give it a go though

amitchandak
Super User
Super User

@Anonymous , check if DAX studio can help you

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks Amit, but I literally have no idea how to access DAX studio tbh 😫

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.