Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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!
Hi @Anonymous ,
You may refer to this blog to check the DataMashup File
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.
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.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingJoin the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.