New: free Power BI model health check. Find what's making your numbers wrong and your model slow. Check your model →

Pareto Chart Builder

Paste defect causes, complaint categories, or downtime reasons to see which few account for most of the problem. Rank by count or by cost, find the vital few that reach 80%, and take the same chart into Power BI as DAX.

Rank by
“Other”
Total200
Causes9
Vital few4 of 9
Share covered80.5%

The top 4 causes account for 80.5% of the total, the first point where the cumulative line reaches 80%.

By count, Solder bridge leads; by cost, Wrong polarity does. Wrong polarity ranks #7 by count with 4.0% of the defects, but #1 by cost with 30.1% of the cost. Switch Rank by to see both. A count-only Pareto would point the team at the wrong problem.

040800%50%100%123456789

Vital fewThe restCumulative %80% thresholdBars are numbered by rank; names are in the table.

#CauseCountShareCumulative
1Solder bridge6834.0%34.0%Vital few
2Insufficient solder4723.5%57.5%Vital few
3Solder balls2914.5%72.0%Vital few
4Missing component178.5%80.5%Vital few
5Tombstoning126.0%86.5%
6Lifted leadtie84.0%90.5%
7Wrong polaritytie84.0%94.5%
8Scratched board42.0%96.5%
9Other73.5%100.0%

Ties (Lifted lead, Wrong polarity) are ordered A to Z, so the cumulative line still steps up one bar at a time. The DAX below breaks ties the same way.

The same Pareto as DAX measures

Rank, cumulative, cumulative %, the vital-few flag, and a bar color, for a line and clustered column chart with your table's names. The Pareto tutorial walks through each one.

Defect Count = COUNTROWS ( Defects )

-- Sort the chart's axis by this: put it in Tooltips, then Sort axis > Pareto Rank, ascending
Pareto Rank =
VAR CurrentCause = SELECTEDVALUE ( Defects[Cause] )
VAR CurrentValue = [Defect Count]
VAR CurrentIsOther = CurrentCause = "Other"
VAR AtOrAbove =
    FILTER (
        ADDCOLUMNS ( ALLSELECTED ( Defects[Cause] ), "@Value", [Defect Count] ),
        VAR IsOther = Defects[Cause] = "Other"
        RETURN
            NOT ISBLANK ( [@Value] )
                && ( Defects[Cause] = CurrentCause
                    || ( CurrentIsOther && NOT IsOther )
                    || ( IsOther = CurrentIsOther
                        && ( [@Value] > CurrentValue
                            || ( [@Value] = CurrentValue && Defects[Cause] < CurrentCause ) ) ) )
    )
RETURN
    IF ( HASONEVALUE ( Defects[Cause] ) && NOT ISBLANK ( CurrentValue ), COUNTROWS ( AtOrAbove ) )

Cumulative Count =
VAR CurrentCause = SELECTEDVALUE ( Defects[Cause] )
VAR CurrentValue = [Defect Count]
VAR CurrentIsOther = CurrentCause = "Other"
VAR AtOrAbove =
    FILTER (
        ADDCOLUMNS ( ALLSELECTED ( Defects[Cause] ), "@Value", [Defect Count] ),
        VAR IsOther = Defects[Cause] = "Other"
        RETURN
            NOT ISBLANK ( [@Value] )
                && ( Defects[Cause] = CurrentCause
                    || ( CurrentIsOther && NOT IsOther )
                    || ( IsOther = CurrentIsOther
                        && ( [@Value] > CurrentValue
                            || ( [@Value] = CurrentValue && Defects[Cause] < CurrentCause ) ) ) )
    )
RETURN
    IF ( HASONEVALUE ( Defects[Cause] ) && NOT ISBLANK ( CurrentValue ), SUMX ( AtOrAbove, [@Value] ) )

Cumulative % =
DIVIDE ( [Cumulative Count], CALCULATE ( [Defect Count], ALLSELECTED ( Defects[Cause] ) ) )

-- 1 for the causes it takes to reach 80%, including the one that crosses it
Vital Few =
VAR Before = [Cumulative Count] - [Defect Count]
VAR AllCauses = CALCULATE ( [Defect Count], ALLSELECTED ( Defects[Cause] ) )
RETURN
    IF ( NOT ISBLANK ( [Cumulative Count] ), IF ( DIVIDE ( Before, AllCauses ) < 0.8, 1, 0 ) )

-- Column color: Format > Columns > Color > fx > Format style: Field value
Pareto Bar Color = IF ( [Vital Few] = 1, "#0284C7", "#94A3B8" )

-- A second line on the secondary axis, so the threshold shows on the chart
Pareto Threshold = 0.8

Free, with no sign-in and no request limit. Everything runs in your browser, and nothing you paste is sent anywhere.

How the vital few are chosen. Causes are ranked from largest to smallest, and a cause is in the vital few if the causes above it haven't reached the threshold yet. So the cause that carries the cumulative line past 80% is included, and the answer is rarely exactly 20% of the causes. The 80/20 split is a rule of thumb, not a law.

Count or cost? A count Pareto shows what happens most often. A cost Pareto shows what hurts most. They often disagree: a rare defect that's only caught at final test can cost more than a common one fixed in seconds at the bench. When you have the cost, look at both before picking what to fix.

Why “Other” goes last. “Other” is a bucket of small causes, not a cause you can fix, so it's ranked last whatever its size. If it's big enough to be in the vital few, split it into real categories first.

Building it in Power BI? The Pareto chart tutorial builds this example step by step from a 200-row defect log: the rank that breaks ties, the cumulative % measure, sorting the axis, and the count-versus-cost comparison.

More quality tools: the Control Chart Builder and the FMEA Calculator. Or browse all the Power BI tools.