Skip to content

Add a PercentileRank function #13

Description

@thebiglabasky

Need a PercentileRank function in FarosAI, much like what exists in Excel: Percentile Ranking

  1. Determine which field/column you want to calculate percentile ranking for
  2. Order (Asc/Desc) needs to be taken into account depending on what the user is trying to achieve. The data point might require descending sort as larger number would be considered "top 99th percentile". Another data point might mean a smaller number is "better" or "top 99th percentile"
  3. Apply sequential rank order (1 thru x number of records); let's call this [Rank]
  4. How to calculate the PercentileRank: 1 - ([Rank] - 1) / (Count of rows - 1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions