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
Anonymous
Not applicable

move from desktop M query to datamart

Hi folks

I have a premium per user licence. I tried to copy paste Desktop Power query table to the Datamart Power Query, but it failed. I did not found an advaced editor either in Datamart Power query. Do you know how to migrate existing (M) Power queries from the desktop to Datamart ? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you Xiaosun,

I discovered recently that I could copy M code to the advanced editor in the Power query experience of Datamarts. Therefore we can say anyone can copy and paste Power Query  queries from the Desktop. 

View solution in original post

2 REPLIES 2
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

It is impossible to copy and paste M function directly to the Datamart Power Query, because Datamarts provide a no-code visual query designer. And I think you can export data from the table you created with Desktop Power Query first. Then you can choose data source when you create a new datamart.

vxiaosunmsft_0-1663825039808.png

 

vxiaosunmsft_1-1663825039828.png

The formula bar lets you enter your measure. Like Power BI Desktop, the DAX editing experience in datamarts presents a rich editor complete with auto-complete for formulas. 

vxiaosunmsft_2-1663825039834.png

 

Please refer to the following document:

Export data from a Power BI visualization - Power BI | Microsoft Learn

Introduction to datamarts - Power BI | Microsoft Learn

Get started with datamarts (preview) - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ xiaosun

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

Anonymous
Not applicable

Thank you Xiaosun,

I discovered recently that I could copy M code to the advanced editor in the Power query experience of Datamarts. Therefore we can say anyone can copy and paste Power Query  queries from the Desktop. 

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