power-bi-filters

Featured

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.

AI & Automation 424 stars 111 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash # List all filters on a page pbi filters list --page page_abc123 # List filters on a specific visual pbi filters list --page page_abc123 --visual visual_def456 ``` Returns each filter's name, type, field, and scope (page or visual). ## Categorical Filters Include or exclude specific values from a column: ```bash # Include only East and West regions pbi filters add-categorical --page page1 \ --table Sales --column Region \ --values "East" "West" ``` 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: ```bash # Top 10 products by revenue pbi filters add-topn --page page1 \ --table Product --column Name \ --n 10 \ --order-by-table Sales --order-by-column Revenue # Bottom 5 by quantity (ascending) pbi filters add-topn --page page1 \ --table Product --column Name \ --n 5 \ --order-by-table Sales --order-by-column Quantity \ --direction Bottom ``` 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 ca...

Details

Author
MinaSaad1
Repository
MinaSaad1/pbi-cli
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

power-bi-pages

Manage Power BI report pages and bookmarks -- add, remove, configure, and lay out pages in PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "add page", "new page", "delete page", "page layout", "page size", "page background", "hide page", "show page", "drillthrough", "page order", "page visibility", "page settings", "page navigation", "bookmark", "create bookmark", "save bookmark", "delete bookmark", or wants to manage bookmarks that capture page-level state. Also invoke when the user asks about drillthrough configuration or pageBinding.

424 Updated today
MinaSaad1
AI & Automation Featured

power-bi-visuals

Add, configure, bind data to, and bulk-manage visuals on Power BI PBIR report pages using pbi-cli. Invoke this skill whenever the user mentions "add a chart", "bar chart", "line chart", "card", "KPI", "gauge", "scatter", "table visual", "matrix", "slicer", "combo chart", "bind data", "visual type", "visual layout", "resize visuals", "bulk update visuals", "bulk delete", "visual calculations", or wants to place, move, bind, or remove any visual on a report page. Also invoke when the user asks what visual types are supported or how to connect a visual to their data model.

424 Updated today
MinaSaad1
Data & Documents Listed

power-bi-report-design

Use for report page management, visual authoring, bookmarks, drillthrough, auto-layout, tooltip pages, conditional formatting, filter pane configuration, design critique, chart archetype selection, anti-pattern detection, and WCAG accessibility audits. Triggers on: "add a visual", "create a page", "bookmark", "drillthrough", "tooltip page", "conditional formatting", "color scale", "data bar", "report layout", "pbi report", "pbi visual", "pbi page", "pbi layout", "pbi filter", "auto-layout", "page navigator", "mobile layout", "PBIR", "design review", "chart choice", "which visual should I use", "accessibility", "WCAG", "anti-pattern", "report critique", "review this report". Do NOT trigger for DAX measures (→ power-bi-dax), theme/brand colors (→ power-bi-design-system), or model schema (→ power-bi-modeling).

0 Updated today
mudassir09