Power BI Partitions & Expressions
Skill by MinaSaad1
Manages Power BI table partitions, named expressions (M/Power Query data sources), and calendar tables using pbi-cli. It is for users who want to configure how tables load data.
Install Power BI Partitions & Expressions
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.claude/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-partitions ~/.claude/skills/power-bi-partitions-expressionsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install Power BI Partitions & Expressions in Claude Code
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-partitions ~/.gemini/antigravity-cli/skills/power-bi-partitions-expressionsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install Power BI Partitions & Expressions in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant manage the loading side of a Power BI model. It can list, create, delete and refresh table partitions, and each partition can take an M expression and a mode such as Import or DirectQuery. It can also list, get, create and delete named expressions, which are shared M/Power Query definitions such as server names or URLs used as data sources.
The skill runs commands through the pbi-cli tool and includes a calendar table command that marks a table as a date table to enable time intelligence in DAX. It also covers exporting the model as TMDL for version control. The source points users to a separate power-bi-modeling skill for measures, relationships and hierarchies. It suits Power BI developers who manage partitions, incremental refresh and data source parameters.
Written from the project's SKILL.md and checked against it.
What it can do
- pbi partition listLists the partitions in a table, with optional JSON output.
- pbi partition createCreates a partition with an M expression and an Import or DirectQuery mode.
- pbi partition deleteDeletes a named partition from a table.
- pbi partition refreshRefreshes a specific partition of a table.
- pbi expression listLists all named expressions in the model.
- pbi expression getReturns a specific named expression.
- pbi expression createCreates a named expression (M query) with an optional description.
- pbi expression deleteDeletes a named expression.
- pbi calendar markMarks a table as a calendar table using a chosen date column.
- pbi calendar listLists all calendar and date tables in the model.
What you need
- pbi-cli-tool installed with pipx
- pbi-cli skills installed
- A connected Power BI model via pbi connect
Try asking
- List the partitions in my Sales table
- Create a Sales_2024 partition with an M filter on the year
- Mark my Calendar table as the date table using the Date column
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/pbi_cli/skills/power-bi-partitions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to Power BI Partitions & Expressions
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
Power BI Partitions & Expressions: common questions
What does the Power BI Partitions & Expressions skill manage?
It manages table partitions, named expressions (M/Power Query data sources), and calendar table configuration through pbi-cli.
When should I use power-bi-modeling instead?
The source says to use power-bi-modeling for broader modeling tasks such as measures, relationships and hierarchies.
Can I version-control partition definitions?
The source suggests exporting the model as TMDL with pbi database export-tmdl ./model/ so partition definitions can be tracked.
How do I install Power BI Partitions & Expressions?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Power BI Partitions & Expressions free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Power BI Partitions & Expressions safe to use?
It scores 79 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 Power BI Partitions & Expressions?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
