Power BI Filters
Skill by MinaSaad1
Power BI Filters is a skill that adds, lists, and removes page-level and visual-level filters on PBIR reports using pbi-cli. It is for people who edit Power BI reports and want to script filter changes.
Install Power BI Filters
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-filters ~/.claude/skills/power-bi-filtersRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
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-filters ~/.gemini/antigravity-cli/skills/power-bi-filtersAntigravity 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
Power BI Filters is an agent skill for managing filters on Power BI PBIR reports through the pbi-cli tool. It can add categorical filters, TopN filters, and relative date filters to a whole page or to a single visual. It can also list existing filters and remove one filter or clear all filters from a page. Filters are stored in the filterConfig section of page.json or visual.json. The source states that no Power BI Desktop connection is needed for these operations.
Write commands sync Power BI Desktop automatically by default. To apply several changes first, users can add --no-sync to the filters command group and then run pbi report reload once at the end. The skill also supports JSON output with the --json flag. It suits report authors who want to restrict which data appears on a page or in a specific visual.
Written from the project's SKILL.md and checked against it.
What it can do
- List filtersLists each filter's name, type, field, and scope on a page or visual.
- Categorical filtersIncludes only specified values from a column, evaluated as an IN-list.
- TopN filtersShows the top or bottom N items of a dimension ranked by a measure.
- Relative date filtersFilters by a rolling window of days, weeks, months, quarters, or years, looking back or forward.
- Visual-level filtersAdds a filter to a single visual instead of the whole page using the --visual option.
- Remove and clear filtersRemoves one filter by name or clears all filters from a page.
- Batch with no-syncSuppresses automatic Desktop sync so several filter changes can be applied before one reload.
- JSON outputReturns command results in JSON using the pbi --json flag.
What you need
- pbi-cli
- A Power BI PBIR report with page.json and visual.json files
Try asking
- Add a categorical filter so the Sales page shows only East and West regions
- Add a top 10 products filter by revenue to the overview page
- List all filters on the details page and remove the one for Channel
Good to know
- No Power BI Desktop connection is needed, according to the source.
- Write commands sync Power BI Desktop by default unless --no-sync is used.
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-filters/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 Filters
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 Filters: common questions
Where are Power BI report filters stored?
Page-level filters are stored in the filterConfig section of page.json. Visual-level filters are stored in the filterConfig section of visual.json.
Does this skill need Power BI Desktop open?
The source says no Power BI Desktop connection is needed. Write commands do try to sync Desktop by default, and --no-sync turns that off.
Can I add several filters without reloading Power BI Desktop each time?
Yes. Add --no-sync to each filters command, then run pbi report reload once when all changes are done.
How do I install Power BI Filters?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Power BI Filters free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Power BI Filters safe to use?
It scores 78 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 Filters?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
