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
UsePowerBI
Post Prodigy
Post Prodigy

Is it possible to export a Connection including the Power Query code?

Hello

 

The Export Connection feature seems to output a connection but it misses out all the Power Query processing steps.

 

Is there a way to export the complete Query in a notepad-editable format?

 

Thanks!

4 REPLIES 4
v-eqin-msft
Community Support
Community Support

Hi @UsePowerBI ,

 

You may refer to this blog to check the DataMashup File

Eyelyn9_0-1633328812211.png

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

edhans
Super User
Super User

You can right-click on the query and press COPY, then PASTE into Notepad. THat will paste that query and all precedent queries it depends on as text.

But no way to automate that that I am aware of. other than some C scripts in Tabular Editor.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

@edhans  that works thanks!

 

However, I was looking at a combination of the odc xlm plus the Power Query code in one file! Is that possible?

Not that I am aware of.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors