Archives of the TeradataForum
Message Posted: Wed, 05 Jul 2006 @ 22:18:52 GMT
<-- Anonymously Posted: Wednesday, July 05, 2006 17:39 -->
Is there a way to write a UDF function for calculating a PERCENTILE value for a given set of N measurements?.
I have used a workaround for now using PERCENT_RANK Function to calculate a percentile value which matches closely (<0.01% variance) with the value calculated in MS Excel (PERCENTILE function).
UDFs manuals mostly talk about Scalar or Aggregate functions, but I have not come across any material that has information on writing Ordered Analytical Functions. If you happen to know about it, please let me know.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|