Tutorials and deep dives · 3 of 3
Fabric IQ MCP: Connect Power BI to Claude Code (Full Setup + Real Demo)
In this video
Ask your Power BI semantic model a question in plain English, and get the exact number your report shows. Then keep asking why.
📘 Step-by-step guide with screenshots and every command ready to copy:
ravichanduedru.me/articles/fabric-iq/set-up-fabric-iq-mcp-claude-code
In this video I connect Claude to a Power BI semantic model with Microsoft's Fabric IQ MCP server, then play the CEO of a retail store on a Sunday night: sales are down, so where is the money going? In a few questions we go from "sales are down" to one hiking boot, its sizes, and the supplier behind it. Then we check that row-level security still applies: a store manager who can only see Online gets only Online.
All setup commands (full guide with screenshots: https://ravichanduedru.me/articles/fabric-iq/set-up-fabric-iq-mcp-claude-code)
- az login
No Azure subscription? az login --tenant YOUR-TENANT-ID --allow-no-subscriptions
(--allow-no-subscriptions lets you sign in even if your account has no Azure subscription, common for Power BI users) - claude plugin marketplace add microsoft/skills-for-fabric
- claude plugin install fabric-skills@fabric-collection
- Open Claude Code in a project folder, then type /mcp and look for FabricIQ: connected, 6 tools
- Ask your question with the report URL from your browser's address bar (not a share link)
The claude code gotcha (and the fix)
If Claude says every query returned only the report's name and link, and no numbers: Fabric IQ puts the query results in one part of its reply and only a citation in the structured part, and Claude Code passes the structured part to the model, so the data is lost. Tracked in microsoft/skills-for-fabric#99; a server change will fix it properly.
Until then, the small local adapter fabriciq-compat sits between Claude Code and Fabric IQ, forwards only the six read-only tools and folds the reply back together (rows, DAX errors and the citation). It signs in with your Azure CLI account, needs only Python, and stores nothing.
a. Type /exit to leave Claude, back to the PowerShell prompt
b. Download the adapter into your folder:
Invoke-WebRequest -Uri https://gist.githubusercontent.com/RaviChanduEdru/6c4fb6edc17a4ee91658fca74c689d24/raw/fabriciq_compat.py -OutFile fabriciq_compat.pyc. Add it to Claude Code:
claude mcp add --scope user fabriciq-compat -- python C:\fabric-iq-demo\fabriciq_compat.pyd. Start claude again and check /mcp for fabriciq-compat
Step-by-step article: ravichanduedru.me/articles/fabric-iq/set-up-fabric-iq-mcp-claude-code
Fabric IQ MCP docs: learn.microsoft.com/en-us/fabric/iq/connectors/fabric-iq-mcp
Skills for Fabric: github.com/microsoft/skills-for-fabric
Good to know
- Reports and semantic models don't need Fabric or Premium capacity. Your tenant's region has to support Fabric.
- Sign in with a work or school account (Microsoft Entra ID).
- Getting CapacityNotActive? Your Fabric capacity is paused. Resume it, then ask again.
- Switching accounts? After az login as another user, start a new Claude session.
- Better answers: add AI instructions to your model in Power BI (Prep data for AI).
What would you ask your data first? Tell me in the comments.
Read the transcript
What if your Power BI data could answer why? Instead of just what? Ask a question, follow the answer. Find the root cause in minutes. That is what Claude can do with Microsoft Fabric IQ MCP. Hi, I am Ravi Chandu Edru. In this video, I will show you how to setup it and walk through a live demo where you can watch every step Claude takes and also share a few tips along the way.
But first, I created a short visual to help you understand what MCP is and what Fabric IQ MCP does behind the scenes when you ask a question. Let's watch it. Now let's set it up. And before that, we need to have a work account that can access to the Power BI report or a semantic model and also a Claude account and also like basically there is no premium capacity needed for this setup. Now step one, sign in to Azure CLI.
It opens a browser to sign in our account. Now I sign in to my account. Now second step is add Microsoft plugin marketplace. Here, think of it as like adding an app store to your phone. Nothing installed at it tells Claude's and Claude Code where to find Microsoft official plugins. The third step is install the Fabric skill plugin from this store. Now installation completed.
This installation has two things in it. One is Fabric IQ MCP server which connects the Power BI data with the six tools. The second one is Fabric IQ skills which teaches Claude how to use those tools properly. The server is the hands and the skill is know-how.
Now we need to create a folder to work on it. Now I am creating a new folder. Here I already have the folder. Here now I am in this folder. Now type Claude to open it. Now you can see our Claude is open.
Now type MCP here. You can see our MCPs are installed. You can see our Fabric IQ MCP server. Here you can see those six tools. Now let's ask one basic question to test whether it is working or not. Just like how much is our last month sales.
Here you can see it is telling that we are asking normally just question but we not pointed out any specific semantic model or Power BI report. Now what we need to do is we need to give the URL of that specific report or a semantic model so that it can fetch the data from.
Now I added the Power BI report URL here not the share link. We need to enter the URL. Now here is the catch Claude found the report but there is no numbers. It is just the report name and the link. That's not our setup.
Basically it's a known issue between Fabric IQ and the Claude Code. I also reported to it Microsoft in GitHub. Until it's fixed I use a small adapter. I built. The link is in the description. Which type exit. Now just copy the link. I will put it in the description.
Now I added to the Claude Code. Now type Claude. Now type MCP to check whether our here you can see our fabriciq-compat is installed. Now just ask the same question. Here you can see after updating the URL we get the answer. Last month sale is 490k and also here August sale is also there.
Until the issue is resolved we can use this one after fix. We can directly use this Fabric IQ skill. Now I am just changing the model just to get the improved answer. Now I am just re-asking the same question. Now here you can see it is presented in a box way.
Like table face. With the same answer. Set up is done. Before the demo one tip that makes the biggest difference here. Fabric IQ does not write the answers. Claude does. Using what our model tells it. So better your models metadata the better the answers.
3 things helps most. One is AI instructions. Like your business rules. Very fed answers. And the third one is description and synonyms. So Claude finds the right columns and are a right values. You add this in Power BI with prep data for a on your semantic model.
I will show you how it looks. Here you can see under prep data. Here I added AI instructions. My model you can see one instruction says that sales means net sales. So whenever I ask a sale Claude uses the right number every time.
That's the setup. Now let's start the demo. For this demo like I opened the Claude desktop application. And I also opened the folder we previously created it. To show you how Fabric MCP finds its answers. I built this small Claude Code plugin. It shows us each step live right here.
And you don't need to install it. It's just for your understanding purpose only. Let's assume I am the CEO of the Yuktikara store. On a Sunday night like I wanted to know how our 20 to 26 years are doing. So I just asked the same question for this Claude.
Basically here you can see it is updating live how it's fetching it. Okay here I asked the question but I have not mentioned which report to check it. It's a semantic model. So it is unable to find that one. So I am adding the URL the Power BI report URL so that it can find the information about our question.
Now here you can see it identified the workspace. And getting the metadata from our reports. And also getting the schema details. And the instructions you can see whatever the instructions we write in the semantic model it trades it. Now it's querying it like writing the DAX.
Okay you can see here it's created some beautiful graphs. Here you can see our sales are dropping compared to last year. And the return rate also higher. So let's go deep. Like where we are losing most of our revenue. Here you can see it already has this our metadata and the semantic model instruction all the details. So it's just writing the task for us.
Okay here you can see the breakdown. Here you can see almost half a million dollars are come from refunds. Like we are losing this much amount of money. And this compared to last year also it is higher. You can see here footwear returns are mostly for fit and also here it amounts for 52 % of all refunds. So let's dig deep into the footwear. Any specific product only causing the return or any specific sizes.
Here you can see out of all the footwear these specific Cascade hiking boot has the highest return. That is 21 .29 % is and it is the worst compared to all other footwear. Here also we can see these specific sizes are getting most of the return.
And also let's let's investigate further who making those boards are there any issue with that specific supplier. Now I am focusing on this specific hiking board. We can investigate in any product but for this demo I am investigating the root cause for this specific board which has the highest return rate.
Now here you can see it is writing a new DAX query and pushes to the power wave model. Semantic model. Here you can see the specific supplier is supplying the specific footwear. And also deliveries are late. And also the filling is low and the stock out is also higher.
So these particular supplier is causing us issue. So we need to talk to this specific supplier. Here you can see on-time deliveries are only 53 % compared to others is very low. And also many other issues with this specific suppliers. Now we find out one of our major issue in these returns.
In this way it helps us to investigate our data and find the root causes. If you want we can ask a small question, suggestions like what should we do about it on Monday. Or create some report on this to discuss in tomorrow's meeting kind of thing it will prepare us.
Yeah it prepared some plan to discuss for tomorrow's meeting. So in this way it helps us to investigate and find the details in short period of time. Instead of waiting for someone to create the reports and do the analysis. It will be helpful for the top management or anyone who dealing with the issues. And now I will show you one more demo.
Like whether this system, this MCP supports the RLS and the Rolio Secure. To check that I will ask one question. Like sales break down by store. So here you can see all the store details are shown here. Because I am a CEO I can see all the store details.
But what if there is any specific store manager want to see their details only. Then how it is possible. Okay let's go to the Power BI. Under security I created a row-level security for specific stores. So for online I attached only one specific person.
So let's show you demo. Like I will log into this specific user account and we will ask the same question. Let's see whether it is only showing the online details or all the store details. So now go back to the terminal. And now I am logging to the online store account.
Logged into my online store manager account. I will ask the same question. Here it did not find the RT craft because I have not given the URL for this specific Power BI report. Now you can see it find and also it getting the metadata all this details.
Here you can see the model contains only one store. Here you can see it only retrieved the online store not all the remaining stores. So here you can see the row-level security is also applying. So you can ask the same questions in the Claude app or terminal anywhere it will work. So just a recap.
Fabric IQ MCP connects Claude to your semantic model. Set up with few commands like sign in then add Microsoft plugin store then install the plugins and then check the MCP whether it is working or not. Then Claude does not guess it reads your model roles and writes the queries itself answers from your real data with your permissions and row-level security in place. And it does not stop at what we went from the sales are down to the boards where the size issue and also the supplier who is delivering late, within minutes. The main important thing is give your model a good instructions. The better your model the better the answers we get.
The full setup guide with every commands ready to copy and the adapter are linked in the description. This is helpful to you. Please like and subscribe and share whoever needs it and tell me in the comment section what you ask with your data first.
And one thing like before closing this video what about the ontology and data agents. Let's discuss. Thanks for watching.