powerbi-html-visuals
Skill by Fasaclox
Writes HTML, CSS and DAX code for custom Power BI visuals, such as KPI cards, gauges and status badges. It returns a ready-to-use DAX measure with binding notes, and the user places the visual in their own report.
Install powerbi-html-visuals
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Fasaclox/Power-BI-Visuals-Using-Claude-AI-HTML-DAX /tmp/Power-BI-Visuals-Using-Claude-AI-HTML-DAX && mkdir -p ~/.claude/skills && cp -r /tmp/Power-BI-Visuals-Using-Claude-AI-HTML-DAX/powerbi-html-visuals ~/.claude/skills/powerbi-html-visualsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Fasaclox/Power-BI-Visuals-Using-Claude-AI-HTML-DAX /tmp/Power-BI-Visuals-Using-Claude-AI-HTML-DAX && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Power-BI-Visuals-Using-Claude-AI-HTML-DAX/powerbi-html-visuals ~/.gemini/antigravity-cli/skills/powerbi-html-visualsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install powerbi-html-visuals in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Power BI HTML Visuals is a skill that writes the HTML, CSS and DAX code for custom Power BI visuals. It covers KPI cards, gauges, donut and bar or column charts, conditional-format status badges, category card grids, trend lines and narrative summary text. The output is a finished DAX measure built from a matching template, plus short notes on which visual to add it to and how to bind it.
The skill does not build or configure visuals in a Power BI file. Full-canvas HTML cards need the HTML Content custom visual, while conditional-format badges use Power BI's native Image URL data category. The user must name the kind of visual they want, such as a KPI card or status badge, or describe the intent. It is aimed at people building Power BI reports who want custom visuals.
Written from the project's SKILL.md and checked against it.
What it can do
- KPI cardsWrites DAX measures for KPI cards with a target, hover detail or a simple change vs. prior period.
- Gauges and donutsProduces code for single and multi-segment donut charts and grids of small donuts.
- Bar and column chartsCovers 100% stacked bars, horizontal bar lists, clustered and stacked columns.
- Status badgesCreates conditional-format badges that colour a table column by tier or category.
- Icon status rowsShows yes/no columns as a row of amenity icons.
- Category card gridsBuilds one card per country or category with a split metric.
- Trend linesWrites a line or area trend that switches metric through a Field Parameter.
- Narrative summariesProduces a dynamic plain-text sentence describing a trend.
- Stat comparison cardsCreates cards comparing a pair of related measures such as average and median.
What you need
- Power BI report
- HTML Content custom visual by Daniel Marsh-Patrick, for full-canvas HTML cards
- Field Parameter in the data model, for the trend line visual
Try asking
- Write a KPI card DAX measure with a revenue target and attainment percentage.
- Create a status badge measure that colour-codes days on market by tier.
- Give me a donut chart measure with three segments and a total.
Good to know
- Does not build, place or configure visuals in the Power BI report.
- The user must state the kind of visual wanted, or the skill asks them to pick one.
- The stat comparison card has a flagged possible encoding bug carried over from the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: powerbi-html-visuals/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to powerbi-html-visuals
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
powerbi-html-visuals: common questions
Does this skill create Power BI visuals for me?
No. It only writes the DAX measure and binding instructions, and the user places the visual in their own report.
Which custom visual is needed for HTML cards?
Full-canvas HTML cards need the HTML Content custom visual by Daniel Marsh-Patrick. Conditional-format badges do not need a custom visual.
What should I tell the assistant to get the right code?
Name the visual type, such as KPI card, gauge or status badge, or describe the intent, such as progress to target. Without that, the skill asks you to choose.
How do I install powerbi-html-visuals?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is powerbi-html-visuals free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is powerbi-html-visuals safe to use?
It scores 51 of 100. Grades: maintenance C, licence A, quality C. 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 powerbi-html-visuals?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
