Power Query M editing tools
Similar to other languages and project types, code-editing tools are available to support the development, documentation, and version control of M queries.
In addition to the Advanced Editor within Power BI Desktop and the dataflows editing interface of the Power BI service, dataset designers can use Visual Studio or Visual Studio Code to author and manage the M queries for Power BI and other Microsoft projects. These tools include common development features, such as IntelliSense, syntax highlighting, and integrated source control.
We’ll explore the different tools supporting M query development in the following sections.
Advanced Editor
In Power BI Desktop and for dataflows in the Power BI service, the M code for each query can be accessed from the Advanced Editor window within the Power Query Editor.
With the Power Query Editor open, select a query of interest from the list of queries on the left and click on the Advanced...