power-bi-visuals

Featured

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.

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 Visuals Skill Create and manage visuals on PBIR report pages. No Power BI Desktop connection is needed -- these commands operate directly on JSON files. ## Adding Visuals ```bash # Add by alias (pbi-cli resolves to the PBIR type) pbi visual add --page page_abc123 --type bar pbi visual add --page page_abc123 --type card --name "Revenue Card" # Custom position and size (pixels) pbi visual add --page page_abc123 --type scatter \ --x 50 --y 400 --width 600 --height 350 # Named visual for easy reference pbi visual add --page page_abc123 --type combo --name sales_combo ``` Each visual is created as a folder with a `visual.json` file inside the page's `visuals/` directory. The template includes the correct schema URL and queryState roles for the chosen type. ## Prerequisite: Measures Must Exist in the Semantic Model `visual bind` writes field references into the visual JSON. It does **not** create measures — it only records that a measure should exist. If the measure is missing from the TMDL, every visual bound to it will show an error in Desktop. **Before binding any visual to a measure, verify the measure exists:** ```bash # Option A: create it via pbi-cli (requires pbi connect) pbi connect pbi measure create "Total Revenue" -e "SUM(Fact_Sales[Total_Revenue])" -t Fact_Sales # Option B: check existing measures in the TMDL file directly # Look for `measure '...' =` lines in SemanticModel/definition/tables/*.tmdl ``` **After adding measures directly to a TM...

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-custom-visuals

Vibe-code Power BI custom visuals end-to-end: scaffold a TypeScript project, iterate on src/visual.ts and capabilities.json, validate with the Power BI Visuals SDK toolchain, package to .pbiviz, and import into a PBIR report. Invoke this skill whenever the user mentions "custom visual", "pbiviz", "powerbi-visuals-tools", "IVisual", "build a chart Power BI doesn't have", "developer visual", or wants a custom-built visual that the built-in Power BI library can't render. NOT for: changing colors / themes (use Power BI Themes), adding built-in visuals like bar/line/card/table (use Power BI Visuals), or modifying the data model.

424 Updated today
MinaSaad1
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
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