PO

powerbi-mockup-builder

Converts visual mockups into functional Power BI reports.

Install

mkdir -p .claude/skills/powerbi-mockup-builder && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12863" && unzip -o skill.zip -d .claude/skills/powerbi-mockup-builder && rm skill.zip

Installs to .claude/skills/powerbi-mockup-builder

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Build or update a Power BI PBIP report from a UI mockup (HTML/Figma/PNG) with UX improvements. Use when asked to implement or refine a Power BI app to match a mockup, map visuals to a semantic model, add measures, or edit PBIP report/semantic model files.
255 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Map visuals from mockup to semantic model
  • Add required DAX measures
  • Update PBIP report files
  • Update PBIP semantic model files
  • Create report spec from mockup
  • Implement UX improvements

How it works

This skill converts a UI mockup into a Power BI PBIP report by identifying visuals, mapping them to a semantic model, adding DAX measures, and updating report and semantic model artifacts.

Inputs & outputs

You give it
UI mockup (HTML/Figma/PNG) and existing PBIP files (optional)
You get back
updated Power BI PBIP report matching the mockup

When to use powerbi-mockup-builder

  • Create PBIP report
  • Add DAX measures
  • Update Power BI visuals
  • Map mockups to model

About this skill

PowerBI Mockup Builder

Overview

Turn a mockup into a real PBIP report by mapping visuals to the semantic model, adding required measures, and updating PBIP artifacts safely.

Workflow Decision Tree

  1. Mockup type?
    • HTML: Extract page titles, KPIs, charts, tables, filters, interactions.
    • Image/Figma: Identify sections and visuals; if labels are unclear, ask one question.
  2. PBIP present?
    • Yes: Update existing .Report and .SemanticModel artifacts.
    • No: Create a report spec first, then build PBIP.
  3. Model gaps?
    • Missing fields/measures: Add DAX measures or document a workaround.
    • Missing tables: Exclude visuals or propose a spec change.

Quick Start

  1. Locate artifacts and mockups:
    • Find .pbip, .Report, .SemanticModel, and mockup files.
  2. Read the semantic model:
    • Tables/columns, measures, relationships, date table.
  3. Convert mockup → page spec:
    • Page list, KPIs, charts, tables, slicers, interactions.
  4. Add required measures:
    • Prefer reusable measures; set format strings.
  5. Implement PBIP changes:
    • Update .SemanticModel TMDL (measures, tables if needed).
    • Update .Report report.json for pages/visuals.
  6. Validate:
    • No broken fields, visuals match grain, filters use date table.

Implementation Steps (PBIP)

  1. Inventory

    • Identify PBIP root and related folders.
    • Note report theme and display names.
  2. Model mapping

    • Build a field map: mockup labels → tables/columns/measures.
    • Flag any mismatch immediately.
  3. Measures

    • Add measures in the fact table or a dedicated measures table.
    • Provide DAX + format + description.
    • Avoid implicit aggregation in visuals.
  4. Pages & visuals

    • Create/rename sections to match mockup tabs.
    • Add visuals with explicit fields and filters.
    • Set interactions intentionally (cross-filter/highlight/none).
  5. Filters & slicers

    • Use the model's date table.
    • Keep consistent slicers across pages if the mockup implies it.
  6. UX improvements (safe)

    • Improve legibility, alignment, and hierarchy.
    • Keep layout consistent with mockup.
    • Avoid scope creep beyond the mockup unless asked.
  7. Validation

    • Check for missing fields/measures.
    • Verify relationships support visuals.
    • Confirm totals won't double-count.

Visual Configuration Patterns

Time-Formatted Measures (MM:SS)

For duration metrics, use this DAX pattern:

AHT Formatted =
VAR TotalSeconds = [Avg Handle Time (sec)]
VAR Minutes = INT(TotalSeconds / 60)
VAR Seconds = MOD(TotalSeconds, 60)
RETURN FORMAT(Minutes, "0") & ":" & FORMAT(Seconds, "00")

Table Data Bars

Apply conditional formatting for inline data visualization:

  • Select measure column → Conditional formatting → Data bars
  • Configure min (0 or auto), max (auto), bar color
  • Accessibility: Power BI generates "data bar XX%" screen reader text

Treemap Hierarchy

For multi-level treemaps:

  • Group: Parent category field (e.g., CSQ Name)
  • Details: Child metrics (Total, Handled, Abandoned)
  • Use distinct colors per category

Navigation Buttons

Button actions:

  • Page navigation: Links to another report page
  • Web URL: Opens external link
  • Bookmark: Applies filter state or shows/hides visuals

Place navigation buttons consistently (left sidebar or top).

Wallboard Layout Pattern

For real-time operational dashboards:

  • Row 1: Large KPI cards (4-6) for critical live metrics
  • Row 2: Status tables (Agent Status, Queue Status)
  • Row 3: Summary KPIs for daily totals
  • No slicers: Operators need full unfiltered view
  • Large fonts: Readable from distance

Dark Theme Color Palette

PurposeColorHex
BackgroundNavy#1B2838
Primary AccentTeal#00A99D
Secondary AccentYellow#F4D03F
WarningOrange#E67E22
Text PrimaryWhite#FFFFFF
Text SecondaryLight Gray#CCCCCC

Output Requirements

  • Provide a concise change summary.
  • List files changed.
  • Provide a short manual test checklist (refresh, slicers, key visuals).
  • Ask only one clarifying question if blocked.

References

  • PBIP structure guide: references/pbip-files.md

When not to use it

  • When not building or updating a Power BI PBIP report
  • When not working from a UI mockup
  • When not needing UX improvements

Limitations

  • Requires a UI mockup as input
  • Limited to Power BI PBIP reports
  • UX improvements are limited to safe changes

How it compares

This workflow provides a structured approach to translate visual mockups into functional Power BI reports, including specific DAX patterns and UX considerations, which goes beyond manual report creation.

Compared to similar skills

powerbi-mockup-builder side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
powerbi-mockup-builder (this skill)04moNo flagsAdvanced
report-generation34moNo flagsAdvanced
state-county-rankings05moReviewBeginner
data-analyst02moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

report-generation

apconw

通用的报告生成技能,根据用户诉求生成各类数据分析报告,包括数据库查询、统计分析和 HTML 图表可视化

318

state-county-rankings

amkessler

This skill should be used when users need ranked county-level demographic metrics within a state from a local CSV file, such as income, population, poverty, or rent.

00

data-analyst

k1lgor

Senior data analyst skill for extracting statistically rigorous insights from structured and semi-structured data. Covers exploratory data analysis, A/B test evaluation with significance testing, cohort analysis, funnel analysis, data quality assessment, and insight narrative construction. Use this

00

design

Hainrixz

Greenfield database design — pick the right engine for a new project, compare it against the boring default, and hand back a starter data model with a diagram. Recommendation mode (module M0); never scored, never destructive. Use when the user is starting fresh and asks what database to use, how to

00

grafana-dashboards

wshobson

Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.

134441

reconciliation

anthropics

Reconcile accounts by comparing GL balances to subledgers, bank statements, or third-party data. Use when performing bank reconciliations, GL-to-subledger recs, intercompany reconciliations, or identifying and categorizing reconciling items.

30139

Search skills

Search the agent skills registry