Power BI Custom Visual

Sankey Diagram for Power BI

AI-generated sankey diagram for Power BI. Describe what you need in plain English; download a ready-to-import .pbiviz file. Full TypeScript source included.

By · Founder & Reliability Engineer · Updated

Generate this Sankey Diagram

1–5 credits by complexity · 5 free on signup

A Sankey diagram visualizes flow between nodes — how a quantity distributes and transforms as it moves between categories. In Power BI, Sankeys are the go-to visual for energy audits, customer-journey analytics, budget cascades, and multi-stage funnel analysis where a standard funnel chart can't show the branching between paths.

Native Power BI doesn't ship a Sankey (as of November 2026). The Microsoft Marketplace (formerly AppSource) has a handful, but they're generic: fixed layouts, opinionated color palettes, limited interactivity, per-user subscription fees that stack as your organization grows. Building one from scratch in TypeScript with D3.js takes roughly 40 hours of developer time — and then you maintain it.

VizForge generates a Power BI Sankey custom visual from a plain-English prompt. Describe your data shape and styling preferences; our AI writes the TypeScript visual, type-checks it with the real TypeScript compiler, repairs the common Power BI SDK mistakes, and packages a .pbiviz file you import directly into Power BI Desktop. You own the source code, can modify it in VS Code, and pay once per visual instead of per seat.

When to use a sankey diagram in Power BI

  • Customer journey: acquisition channel → onboarding step → conversion or churn
  • Budget cascade: total revenue → segment → cost bucket → net margin
  • Energy / material flow audits (sources → intermediates → outputs)
  • Multi-stage qualification funnels where candidates flow between named states
  • Employee headcount movement (joins, exits, transfers between departments)

Example prompt

Example VizForge prompt

Sankey diagram showing customer flow from 5 acquisition channels through 3 onboarding steps to either Converted or Churned. Left-aligned node labels with percentages. Use a blue-to-green gradient for converted paths and red for churn.

Data shape required

Three columns: source (text), target (text), value (numeric). Each row is one flow segment. For multi-level Sankeys, chain source→target rows so the targets of one level appear as sources in the next.

Live preview

Live preview · sample dataDownload sample data (CSV) ↓
ChannelOutcomeSearch600Referral360Social440Converted620Nurturing420Churned360
Acquisition channels flowing to outcomes — a Sankey traces how volume splits and where each lead lands. Rendered live from sample data — your generated visual uses your own model.

Typical DAX measures

Total Flow = SUMX( FlowTable, FlowTable[Value] )

Flow to Churned =
    CALCULATE( [Total Flow], FlowTable[Target] = "Churned" )

Conversion Share =
    DIVIDE( [Flow to Churned], [Total Flow] )
Generate a Sankey Diagram — starts free

5 free credits on signup, no credit card required. One-time credit packs from $9.99 — credits never expire.

The example prompt on this page goes with you into the workspace.

FAQ

Does the Sankey work in Power BI Service or only Desktop?

Both. Generate the .pbiviz, import it into Power BI Desktop, build your report, publish to Service — the visual renders in the browser exactly as it does locally.

Can a Sankey cross-filter other visuals on the page?

Yes. Every VizForge-generated Sankey includes SelectionManager integration, so clicking a node or link acts as a slicer on the rest of the page.

How many levels can the Sankey handle?

Arbitrary depth. The AI-generated visual infers levels from your source/target columns — 2 levels, 5 levels, 12 levels — and lays them out automatically.

My flows have feedback loops. Will the Sankey handle that?

Standard Sankeys don't support cycles. For feedback loops (e.g. customer returns), use a chord diagram instead — VizForge generates those too.

Guides for sankey diagram

Dashboards that use a sankey diagram

Dashboard jobs where a sankey diagram is one of the recommended visuals, with the DAX and prompts for each.

Dashboard templates to put it on

Free page layouts from the Design Studio. Each downloads as a background image, theme JSON and PBIP project; drop the generated .pbiviz into the matching slot.

Design the page around it, free

A custom visual looks best on a designed page. The free VizForge Design Studio lays out a branded report page at Power BI’s pixel size and exports the background image, a theme JSON and a PBIP project. No signup.

Open the free Design Studio →

Marketplace sankey diagram visuals

Ready-made sankey diagram visuals on Microsoft Marketplace (formerly AppSource), with licence, certification and published price as of Nov 2026.

Compare all Power BI custom visuals in the directory

Other ways to get a sankey diagram

Honest, side-by-side comparisons with the marketplace and developer tools, including when they are the better choice.

Related visuals

Make the report.
Then make it yours.

The Design Studio, templates and tools are free with no account (exports carry a small VizForge mark until you sign in). Sign up when you want AI: 5 credits on us, no card.

Generated visuals are type-checked and built before you download them; one that fails the quality SLA refunds its credits. See all features or pricing.