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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
robm135
Helper I
Helper I

Alternative place to develop PowerQUERY/M code

I'm trying to write some complicated (to me at least) M code to fetch data from APIs and I'm wondering if there is a better place to write and develop this instead of powerbi desktop. 

I'm a Visual Studio Code user, there is a code intellisense plugin, but no support to actually run code. 

I've seen blogs where people install power query SDK into Visual Studio, but I was hoping to avoid installing the whole Visual Studio. 

Anyone else know of any options?

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @robm135 

 

To run M code, it requires Mashup Engine. Mashup Engine is not a stand-alone application. It is embeded in some desktop tools like Excel, Power BI Desktop, Visual Studio... Reza Rad has a blog about it: What Is Power Query? Introduction to Data Mash-up Engine of Power BI - RADACAD

 

If you don't want to install Visual Studio, you can try Power Query Online in Power BI Dataflow/Power Platform Dataflow. The experience is similar to that in Power BI Desktop and there is no code intellisense there. 

 

Here is one tool for your reference, but it still requires Visual Studio. 

GitHub - gsimardnet/PowerQueryNet: Run M Language (Power Query Formula Language) from anywhere.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @robm135 

 

To run M code, it requires Mashup Engine. Mashup Engine is not a stand-alone application. It is embeded in some desktop tools like Excel, Power BI Desktop, Visual Studio... Reza Rad has a blog about it: What Is Power Query? Introduction to Data Mash-up Engine of Power BI - RADACAD

 

If you don't want to install Visual Studio, you can try Power Query Online in Power BI Dataflow/Power Platform Dataflow. The experience is similar to that in Power BI Desktop and there is no code intellisense there. 

 

Here is one tool for your reference, but it still requires Visual Studio. 

GitHub - gsimardnet/PowerQueryNet: Run M Language (Power Query Formula Language) from anywhere.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Vijay_A_Verma
Super User
Super User

If you don't want to install complete Visual Studio, another alternative is following which provides M language capability in Visual Studio Code which is quite lightweight. Also VS Code is free of cost for both private or commercial use (Ref - https://code.visualstudio.com/docs/supporting/faq )

 

Power Query language service for VS Code

Yep I got that, it's just does intellisense and snippets. You can't run anything. 

Yes, you can just write syntactically correct code. You can't run the code here. 

yep the question is about where to run code besides visual studio 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors