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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors