Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next



Extracts the ranked unique value from the values in a column, where k=1 returns the maximum value. The value for k must be between 1 and 1000, inclusive. Inputs can be Integer, Decimal, or Datetime.

For purposes of this calculation, two instances of the same value are treated as the same value of k. So, if your dataset contains four rows with column values 10 , 9 , 9 , and 8, then KTHLARGEST returns 9 for k=2 and 8 for k=3.


Input column can be of Integer, Decimal, or Decimal Datetime type. Non-numeric data in the column is Other values column are ignored. If a row contains a missing or null value, it is not factored into the calculation.


Name of the column the values of which you want to calculate the mean. Column  Inputs must contain be Integer, Decimal, or Decimal valuesDatetime values.


NOTE: If the input is in Datetime type, the output is in unixtime format. You can wrap these outputs in the DATEFORMAT function to output the results in the appropriate Datetime format. See DATEFORMAT Function.

  • Literal values are not supported as inputs.
  • Multiple columns and wildcards are not supported.