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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
GeekAlfPro
Resolver II
Resolver II

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
Super User
Super User

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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