fabric-cli-powerbi
Skill by microsoft
Fabric CLI Power BI Operations is a skill that guides an AI assistant through Power BI tasks with the fab CLI. It covers semantic models, reports, DAX queries, refreshes, and gateways. It is aimed at Power BI developers and administrators.
Install fabric-cli-powerbi
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/fabric-cli /tmp/fabric-cli && mkdir -p ~/.claude/skills && cp -r /tmp/fabric-cli/.ai-assets/skills/fabric-cli-powerbi ~/.claude/skills/fabric-cli-powerbiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/fabric-cli /tmp/fabric-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/fabric-cli/.ai-assets/skills/fabric-cli-powerbi ~/.gemini/antigravity-cli/skills/fabric-cli-powerbiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant expert guidance for working with Power BI items such as semantic models, reports, dashboards, dataflows, and paginated reports. It uses the fab CLI and the Power BI API through fab api commands. The skill includes examples for exporting models to PBIP and TMDL format, importing and copying items between workspaces, triggering full and enhanced refreshes, and setting refresh schedules. It also covers running DAX queries, rebinding reports to a different semantic model, exporting reports to PDF or PPTX, and managing gateways and data source credentials.
The skill also includes Python scripts for refresh monitoring, refresh history, and report rebinding, plus a dev to production deployment pattern and a backup example. It is written for Power BI developers, analysts, and administrators who manage workspaces and troubleshoot refresh failures. The source says to load the fabric-cli-core skill first and to confirm authentication with fab auth status.
Written from the project's SKILL.md and checked against it.
What it can do
- Semantic model operationsGet model details, export to PBIP format with TMDL, import, and copy between workspaces.
- Refresh triggersStart full refreshes, including enhanced refresh for specific tables and retry settings.
- Refresh schedulesRead and update a semantic model's refresh schedule, including days, times, and time zone.
- Refresh troubleshootingCheck refresh history and map common failure messages to likely causes.
- DAX query executionRun DAX queries such as EVALUATE, SUMMARIZECOLUMNS, TOPN, and parameterized FILTER against models.
- Report managementExport, clone, and rebind reports to a different semantic model.
- Report exportExport a report to PDF or PPTX through the Power BI API.
- Gateway and data sourcesList gateways and data sources and update data source credentials.
- Ownership takeoverTake over ownership of a semantic model when the original owner leaves.
What you need
- Fabric CLI (fab)
- Authenticated fab session (fab auth status)
- Appropriate workspace permissions for target items
- fabric-cli-core skill loaded first
- Python to run the bundled scripts
Try asking
- Trigger a full refresh of the Sales semantic model in Prod.Workspace
- Why did the refresh of my Sales model fail? Check the refresh history
- Run a DAX query that returns total sales by year from the Sales model
Good to know
- The source says to load the fabric-cli-core skill first for foundational CLI guidance.
- The report PDF or PPTX export shows a poll-then-download step without the full download code.
- The source advises testing in dev first and never refreshing production without testing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai-assets/skills/fabric-cli-powerbi/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to fabric-cli-powerbi
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
fabric-cli-powerbi: common questions
What does the Fabric CLI Power BI skill cover?
It covers semantic models, reports, DAX queries, refresh operations, refresh troubleshooting, and gateway and data source management. It also covers ownership takeover and dev to production deployment.
Can it run DAX queries against a semantic model?
Yes. The skill shows how to send DAX queries to the executeQueries endpoint, including queries with parameters.
Does it include scripts?
It lists three Python scripts for refresh, refresh history, and report rebinding. The source says to run any script with --help for full options.
How do I install fabric-cli-powerbi?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fabric-cli-powerbi free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is fabric-cli-powerbi safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to fabric-cli-powerbi?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
