Forum Discussion

Prasad1's avatar
Prasad1
Icon for Helper I rankHelper I
9 years ago
Solved

XYZ Product classification analysis in Power BI

Hi   XYZ Analysis is a popular Product segmenation approach used for inventory analysis.   http://wikieducator.org/Xyz_analysis.   I would like to understand the way to carryout XYZ analysis us...
  • v-caliao-msft's avatar
    v-caliao-msft
    9 years ago

    Prasad1,

     

    I have tested it on my local environment by using the sample data below.

     

    We need to unpivot this data and then calculte CV.

    Results

     

    Then create a calculate colum to get the CV.
    CV = CALCULATE(STDEV.P(Table1[Value]),ALLEXCEPT(Table1,Table1[Product]))/CALCULATE(AVERAGE(Table1[Value]),ALLEXCEPT(Table1,Table1[Product]))

     

    Regards,

    Charlie Liao