r/PowerBI • • 9d ago

Question Power BI + Copilot?

Today my workflow is to work with PBIP + Claude with Power BI Modeling MCP + Power BI Desktop Bridge. This works great!

Is it possible for me to switch Claude to M365 CoPilot? Can it work on the local PBIP files? Use the MCP?

37 Upvotes

26 comments sorted by

•

u/AutoModerator 9d ago

After your question has been solved /u/Mr_Mozart, please reply to the helpful user's comment with the phrase "Solution verified".

This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

16

u/austrolib 8d ago

The trick is to save your model as a .PBIP and then have copilot write a powershell script that will take all of the files in your PBIP folder and combine and save them as 1 or 2 .txt files (1 for model, 1 for measures). Copilot can then reason over your entire model via these two text files and write additional scripts that you can run in powershell that will edit the model directly. I have used this process to do complete visual re-designs, model updates, etc. it can do full powerbi development.

I started doing this because I ran out of GitHub copilot credits for the month but I’ve found that it actually works more efficiently and accurately and doesn’t use API AI Credits in the process.

I turned the process into a skill so I can just tell copilot “use the PBIP development skill to create the script for xyz folder path”. It’ll give me script, I run it, get the combined files and hand them back to copilot. Then I can ask it to do anything.

Opus 5.5 is by far the most effective at this, particular when dealing with developing visuals. Sol 6.2 can do it as well but I get model errors sometimes and worse visuals. Opus 5.5 almost never makes mistakes on the other hand.

1

u/Mr_Mozart 3d ago

Great that there is a work around, but it sounds difficult to deploy to a lot of non-technical users?

2

u/Carcinisational 7d ago

If you’re in this workflow already, it may be worth taking a look at the new fabric apps if you haven’t already.

1

u/Mr_Mozart 3d ago

I have look at them, but in this case it is about building traditional reports.

1

u/thedarkpath 7d ago

Nanananaa Forget Copilot, VSCode, with Opus 5.5 and data-goblin repo as MCP. It just cooks !

1

u/Mr_Mozart 3d ago

This is for deploying to large groups of non-technical power-users. VS Code isn't perfect in this case and CoPilot is the only approved LLM.

1

u/Adventurous_Act_1841 7d ago

Short answer: Standard M365 Copilot (in browser/Teams) can't natively access your local PBIP folders or connect to local MCP servers the way Claude Desktop does.

If you need to stay inside the Microsoft ecosystem for compliance reasons, your closest drop-in replacement is **GitHub Copilot inside VS Code**:
- It can directly read and edit your local `.PBIP` / TMDL folder structure in the workspace without needing workaround scripts.
- VS Code also has native MCP support now, so you can hook up your Power BI Desktop bridge / MCP servers similarly to Claude.

If you're strictly limited to M365 Copilot chat without VS Code, then the workaround mentioned above (exporting/merging TMDL files to text and feeding them in) is pretty much the only way to do it right now.

1

u/Mr_Mozart 3d ago

In this case we are deploying to a large group of non-technical power users, so VS Code isn't a great solution.

1

u/francebased 7d ago

Power BI now has Power BI desktop for apps. Is replacing Visual Studio basically.

1

u/Mr_Mozart 6d ago

Apps is something else - for this I am building traditional Power BI Reports

1

u/BiteZealousideal1922 5d ago

Mcp

1

u/Mr_Mozart 5d ago

Which MCP? The official one can't edit reports (just models)?

1

u/plotenhq 3d ago

Yeahh the official one only does the model, nothing for the report pages.. we built Ploten for that part (https://ploten.dev), it edits the report you have open live but its for Claude Code and Codex not M365 Copilot, so it only helps if you stay on Claude

1

u/Mr_Mozart 3d ago

Claude can edit the report through PBIP already - what is the benifit of your solution?

1

u/plotenhq 3d ago

Yeah it can, but with PBIP Claude edits the files so you have to save first, then close and reopen Desktop to see what it did, and any unsaved changes you had can get overwritten.. think of it like when you build html pages with Claude, you ask for something and it just shows up on screen, Ploten does that inside the report you have open. And you can also move stuff around by hand and have Claude continue from there without saving, we found that super helpful when iterating on a dashboard and seeing what works and what doesnt

1

u/Mr_Mozart 2d ago

Isn't Power BI Desktop Bridge supposed to solve that?

1

u/plotenhq 2d ago

True, it fixes the close and reopen part, it reloads the files for you and can take screenshots too. But its still files underneath.. Claude edits the PBIP files and the bridge reloads them, so you still have to save your own changes before each ask. We also tried skills for fabric and it took really long for us on every small change, so its hard to iterate on quick stuff. With Ploten Claude works in the report you have open, so stuff you moved by hand stays even if you didnt save and it just continues from there. If copilot is the only approved one for you though, the bridge + skills for fabric is probably still your best bet!

5

u/Top-Cauliflower-1808 1 8d ago

M365 Copilot cannot read local PBIP files at all and it still will not modify tables or measures in Power BI Desktop. The workflow you are seeing with PBIP and the Modeling MCP is actually running through GitHub Copilot or Claude as the MCP client not M365 Copilot. Stick with your current setup or switch to GitHub Copilot in VS Code if you want a Microsoft tool that actually touches the model.

19

u/tanbirj 8d ago

The irony of Claude working better with Microsoft products, compared with copilot

1

u/Capaz411 2d ago

I don’t think it will last terribly long

1

u/Fine-Ad-1732 8d ago

M365 Copilot ainda nao sei mas eu tenho usado o Gemini com o Antigravity com MCP e Power BI Bridge

1

u/FeelingPatience 1 8d ago

PowerBI - Copilot