Forum Discussion

Rymatt830's avatar
Rymatt830
Icon for Advocate II rankAdvocate II
10 years ago
Solved

Percentile Bins, Group by Year

Hello,   I am not sure how to do this so I would love some advice from the all of the experts in this community. I have a table containing five years of data for approximately 250 organizations, ro...
  • Anonymous's avatar
    Anonymous
    10 years ago

    How about something like:

     

    Bin= SWITCH(TRUE,
    Table1[Ratio] <= PERCENTILE.INC(Table1[Ratio], 0.25), 1,
    Table1[Ratio] <= PERCENTILE.INC(Table1[Ratio], 0.50), 2,
    Table1[Ratio] <= PERCENTILE.INC(Table1[Ratio], 0.75), 3,
    4)

     

    ?