DAX code
ABC Classification =
VAR CumulativePercent = [Pareto Cumulative %]
RETURN
SWITCH(
TRUE(),
CumulativePercent <= 0.8, "A",
CumulativePercent <= 0.95, "B",
"C"
)
Labels each item A, B or C based on its Pareto cumulative contribution to total sales.
Type your table and column names once. Every measure below updates.
ABC Classification =
VAR CumulativePercent = [Pareto Cumulative %]
RETURN
SWITCH(
TRUE(),
CumulativePercent <= 0.8, "A",
CumulativePercent <= 0.95, "B",
"C"
)
Depends on the Pareto Cumulative % measure from this library; adjust the 80%/95% thresholds to match your business rules.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to ABC Classification.