Power BI How-To

How to make a pareto chart in Power BI

Build a pareto chart in Power BI: field wells, a worked example, when the native visual is enough, and how to generate the .pbiviz without code.

By · Founder & Reliability Engineer · Updated

A Pareto chart ranks categories by contribution and overlays a cumulative-percentage line so the reader can see which few categories make up 80% of the total: defect types behind complaints, vendors behind spend, SKUs behind revenue. It is the standard first chart in any root-cause or ABC analysis.

Power BI has no dedicated Pareto. You can approximate one with a combo chart and a RANKX-based cumulative measure, but the sort order drifts when filters change and the 80% cut-off can't be drawn as a line that colours the bars. This guide builds one from a two-column shape and explains why the cumulative percentage should be computed inside the visual.

Step-by-step

  1. 1

    Shape the data for the pareto chart

    Two columns: Category (text) and Value (numeric). The visual sorts descending automatically. In the finished visual those columns land in the Category, Value, Threshold wells, so name them that way from the start.

  2. 2

    Load a small sample into Power BI Desktop

    Import the six complaint categories, including the small Billing error and Other rows. With only the top three categories the cumulative line reaches 100% too soon to test the 80% cut-off.

  3. 3

    Describe the pareto chart and generate the .pbiviz

    On VizForge, describe the chart in plain English and say what matters for this one: the threshold (80% or something else) and whether bars at or below it are coloured differently; whether to bucket the long tail beyond rank N into 'Other'; cumulative line markers and labels on/off. The pipeline writes the TypeScript, type-checks it and packages a .pbiviz.

  4. 4

    Import the .pbiviz into Power BI Desktop

    In the Visualizations pane, open the three-dot menu, choose Import a visual from a file and select the .pbiviz. The visual appears in the gallery; add it to the page like any built-in chart.

  5. 5

    Bind the field wells

    Category: Text column: the ranked items (Defect type, Vendor, SKU). Value: Numeric measure: the bar height. Threshold: Optional numeric measure or constant: the cut-off percentage (default 80).

  6. 6

    Check the first render, then format

    A cumulative line that ends below 100%: the cumulative measure ignores the page filters; let the visual compute it. Bars in alphabetical order: a sort was applied in the visual header; remove it, the visual sorts itself. Then open the formatting pane and set bar colour inside and outside the threshold.

Field wells the generated pareto chart exposes

After import, these are the data roles you drop fields into. The names come from the visual’s capabilities.json, which you can rename before packaging if your team uses different terms.

WellTakesNote
CategoryText column: the ranked items (Defect type, Vendor, SKU).No sort column needed; the visual sorts by Value descending.
ValueNumeric measure: the bar height.A measure, so the ranking follows slicers.
ThresholdOptional numeric measure or constant: the cut-off percentage (default 80).Make it a measure if the threshold is a what-if parameter.

Worked example

Customer complaints by defect type in one quarter.

Defect typeComplaints
Late delivery410
Damaged packaging260
Wrong item140
Missing parts90
Billing error60
Other40

What the chart draws: Six bars descending from 410 to 40 and a cumulative line that crosses 80% between the second and third bar: the first three defect types (81%) are coloured, the rest grey, and the 80% rule sits as a dashed horizontal line on the right axis.

Live preview

Live preview · sample dataDownload sample data (CSV) ↓
02505007501000842North613South957East489West724Central356Nordics
Quarterly revenue by region — a bar chart makes rank and magnitude instant. Rendered live from sample data — your generated visual uses your own model.

The AI alternative: Describe your pareto chart in plain English and VizForge generates the .pbiviz, source included. 5 free credits on signup, no card required.

Generate a pareto chart on VizForge →

Without code: what to put in the prompt

The generator turns a description into the TypeScript, so the description is where the decisions live. For a pareto chart, say:

  • The threshold (80% or something else) and whether bars at or below it are coloured differently.
  • Whether to bucket the long tail beyond rank N into 'Other'.
  • Cumulative line markers and labels on/off.
  • Left axis as counts, right axis as cumulative percent, or a single normalised axis.
  • Click behaviour: cross-filter the page by the clicked category.

Example VizForge prompt

Pareto chart of defect types. Bars sorted descending by count, cumulative percentage line overlaid, horizontal reference line at 80%, bars coloured green below the cut-off and grey above.

Customise it: formatting options worth exposing

Anything you name as adjustable becomes a card in Power BI’s formatting pane, which a report theme can then set for every copy of the visual. For a pareto chart the options that earn their place are:

  • Bar colour inside and outside the threshold.
  • Threshold line colour, dash style and label.
  • Cumulative line colour, width and marker style.
  • Long-tail bucketing rank (N) and the bucket label.
  • Axis label rotation for long category names.

For changes the pane doesn’t cover, edit settings.ts and visual.ts in the source that ships with the download and repackage; or refine on VizForge and get a v2 that keeps everything you didn’t mention.

When native Power BI is enough (as of November 2026)

Power BI has no native Pareto visual. The 'Line and clustered column' combo chart with a cumulative-percentage measure is enough when the category list is stable, you can live with sorting by the bar measure, and the 80% line is a constant line from the Analytics pane. It is not enough when bars should change colour at the cut-off, when the cut-off is a parameter, or when the long tail must collapse into one bar.

Limits of Marketplace pareto chart visuals

Marketplace Pareto visuals usually fix the threshold at 80% or expose it as a constant only, so a what-if slicer can't drive it. Long-tail bucketing and colour-at-threshold are the common paid extras, and the cumulative calculation is sometimes done over all data rather than the filtered set, which produces a line that doesn't reach 100%.

The general trade-offs (per-user licensing, closed source, no new field wells) are the same for every chart type; see VizForge vs Microsoft Marketplace visuals for the full comparison.

Download, install and first render

The download is a standard .pbiviz plus the TypeScript source. Import it in Power BI Desktop (Visualizations pane → three dots → Import a visual from a file), add it to the page and bind the wells above. Then check the pareto chart against this list before you connect the full dataset:

  • A cumulative line that ends below 100%: the cumulative measure ignores the page filters; let the visual compute it.
  • Bars in alphabetical order: a sort was applied in the visual header; remove it, the visual sorts itself.
  • Threshold line missing: the Threshold measure returns BLANK or is in percent form (0.8) where the visual expects 80.
  • Dozens of hairline bars: set the long-tail rank so everything past it becomes 'Other'.

When to use a pareto chart

  • Defect category analysis (which defects cause 80% of complaints?)
  • Cost concentration (which vendors account for 80% of spend?)
  • Revenue by customer (which customers generate 80% of revenue?)
  • Inventory ABC classification
  • Support ticket topic analysis

Frequently asked questions

Will the visual work in Power BI Service, Premium and embedded reports?

Yes. A .pbiviz is a standard Power BI custom visual and renders the same in Desktop, the Service, Premium and Premium per User capacities, and embedded scenarios. Tenant admins can restrict custom visuals to certified or organisational ones; if yours does, publish the .pbiviz as an organisational visual rather than importing it per report.

What if I need to change the visual later?

Two paths. Refine on VizForge with an instruction such as "add a target line" and get a v2 .pbiviz that keeps everything you didn't mention; or open the TypeScript source that ships with every download in VS Code, edit it and repackage with pbiviz package.

Where does the 80% line come from?

Hard-coded by default but configurable. Prompt for 'show 80% reference line' or a custom percentile; the visual renders a horizontal rule at that cumulative point.

Can I swap to log scale for long-tailed data?

Yes. Specify 'log-scale left axis' in the prompt when a handful of categories dwarf the rest.

Does the Pareto filter other visuals on click?

Yes — clicking a bar acts as a slicer on the rest of the page, same as native visuals.

Can it handle hundreds of categories?

Yes, but the bar thickness shrinks. For dense cases, prompt for 'bucket the long tail beyond rank N into an Other category'.

Put your pareto chart on a designed page

Free Design Studio page layouts. Download the background, theme and PBIP project, then import the visual into the 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 →

Guides for related charts

VizForge — AI-generated Power BI custom 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.