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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors