minasaad1/pbi-cli/power-bi-filters
Claude Code and agent skill by minasaad1/pbi-cli
- community
Checking that the SKILL.md file is still in the repository.
Add, remove, and manage page-level and visual-level filters on Power BI PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "filter", "TopN filter", "top 10", "bottom 5", "relative date filter", "last 30 days", "categorical filter", "include values", "exclude values", "clear filters", "slicer filter", "page filter", "visual filter", or wants to restrict which data appears on a page or in a specific visual.
Install
npx vskill@latest install minasaad1/pbi-cli/power-bi-filtersSKILL.md
Power BI Filters Skill
Add and manage filters on PBIR report pages and visuals. Filters are stored in the filterConfig section of page.json (page-level) or visual.json (visual-level). No Power BI Desktop connection is needed.
Listing Filters
Returns each filter's name, type, field, and scope (page or visual).
Categorical Filters
Include or exclude specific values from a column:
The filter appears in the page's filterConfig.filters array. Power BI evaluates it as an IN-list against the specified column.
TopN Filters
Show only the top (or bottom) N items ranked by a measure:
The --table and --column define which dimension to filter (the rows you want to keep). The --order-by-table and --order-by-column define the measure used for ranking. These can be different tables -- for example, filtering Product names by Sales revenue.
Direction defaults to Top (descending -- highest N). Use --direction Bottom for ascending (lowest N).
Relative Date Filters
Filter by a rolling window relative to today:
Period options: days, weeks, months, quarters, years. Direction: last (past) or next (future).
Visual-Level Filters
Add a filter to a specific visual instead of the whole page by including --visual:
Removing Filters
Filter names are auto-generated unique IDs. Use pbi filters list to find the name of the filter you want to remove.
Workflow: Set Up Dashboard Filters
Suppressing Auto-Sync (--no-sync)
By default, every write command automatically syncs Power BI Desktop. When applying filters to multiple pages or visuals in sequence, Desktop reloads after each command.
Use --no-sync on the filters command group to batch all filter changes, then call pbi report reload once at the end:
JSON Output
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/pbi_cli/skills/power-bi-filters/SKILL.md
Popularity
- Repository stars
- 400
- Repository forks
- 107
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/minasaad1/pbi-cli/power-bi-filters)