This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I'm a novise in this subject.
I'm trying to use VS Code to write and debug M-code for my PowerBI Report.
How can I make VSC IDE communicate with the Power BI dataset to be able to see the Power BI tables and columns in VSC?
Thanks
The PowerQuery M Language provides features like syntax highlighting, code formatting, and IntelliSense. The official Microsoft tools also include a Power Query SDK for custom connector development.
But it does not allow you to run or debug the M code directly within VS Code itself. The code must still be executed within a Power Query host environment, such as Power BI Desktop or Excel.
I think you can have a better resolution using MCP:
https://marketplace.visualstudio.com/items?itemName=analysis-services.powerbi-modeling-mcp
I hope this helps. if so please accept as a solution. Kudos are welcome.
i realize that you are trying to see and play with the data in the same ide.
Then please try with:
https://www.sqlbi.com/tools/dax-studio/
Hi @RichFlorida
You may have a look at this tool Power Query / M Language - Visual Studio Marketplace
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Thanks very helpful
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |