Forum Discussion

lazzarjovvch74's avatar
7 years ago
Solved

Pareto (80/20) Segmentation

Hi,
I created 80/20 segmentation in my data model and I got what I wanted (see the table below).
Now I want to calculate new Name column with the next logic: if Cumulative % <=80% show value from the "Customer Name" column, otherwise show "Other" (the result will be the column Name as in the table below).

 

I tried with this calculated column but it doesn't work (the result isn't correct, it's always "Other"):

80/20 Name = IF([Cumulative Percen.] <= 0.8, SalesReport[Names], "Other")

How can I do this?

 

----------
In the next step, I'll use a pie chart to show this segmentation where all customers with small cumulative transactions will be categorized as Other.

 

Customer NameTransaction VolumeCumulative TransactionCumulative %Name
Name 1929215.67%Name 1
Name 28417629.98%Name 2
Name 37324942.42%Name 3
Name 47232154.68%Name 4
Name 55337463.71%Name 5
Name 64842271.89%Name 6
Name 74746979.90%Name 7
Name 83550485.86%Other
Name 93353791.48%Other
Name 103156896.76%Other
Name 11557397.61%Other
Name 12457798.30%Other
Name 13257998.64%Other
Name 141587100.00%Other
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi lazzarjovvch74

     

    You may use 'add index column' function in Query Editor to get the index column. Then the calculated columns can be used in your data.

     

    Regards,

    Cherie

9 Replies