-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Need a PercentileRank function in FarosAI, much like what exists in Excel: Percentile Ranking
- Determine which field/column you want to calculate percentile ranking for
- 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"
- Apply sequential rank order (1 thru x number of records); let's call this [Rank]
- How to calculate the PercentileRank:
1 - ([Rank] - 1) / (Count of rows - 1)