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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
GeekAlfPro
Helper V
Helper V

Export entire m code from Power BI to power Query in Excel

Hi,

 

i have some M Code in PBI Desktop, and i'd like to import this code in Power Query in Excel.

i installed power query helper, see here but the app changed completly and i don't manage to do it.

 

is there a way to do this easily ?

 

Thanks

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @GeekAlfPro 

Sure you can just copy the queries as usual, with Ctrl-C, on the queries pane (on the left) in the query editor in Power BI and then open Power Query in Excel and paste, Ctrl-V, on the same queries pane (on the left).  That should get you all your queries moved.

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

View solution in original post

2 REPLIES 2
AlB
Community Champion
Community Champion

Hi @GeekAlfPro 

Sure you can just copy the queries as usual, with Ctrl-C, on the queries pane (on the left) in the query editor in Power BI and then open Power Query in Excel and paste, Ctrl-V, on the same queries pane (on the left).  That should get you all your queries moved.

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

Hi @AlB 

 

that's it !

it didn't work cause i tried to paste it in the query editor not in the pane !

 

thanks

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.