Skip to main content
Skip table of contents

PercentileCont

The PercentileCont macro performs the same calculation as the SQL query term PERCENTILE_CONT. It performs an interpolation along an ordered sequence of values, answering the question "what value would have appeared at this fractional position along the sequence?"

  • Group records by a group field.

  • Within each group, order the records on  a specified value field.

  • Assign each record a distribution number such that the first record gets 0.0 and the last one gets 1.0; records in between are linearly interpolated.

  • Find the two records whose distribution values are on either side of "percentile" (actually fractional) value P.

PercentileCont configuration parameters

PercentileCont has a single set of configuration parameters:

P

Percentile value, which must be between 0.0 and 1.0.

Group field

Mapped field containing the grouping key.

Value field

Mapped field containing the values, which must be numeric.

Configure PercentileCont

  1. Select the PercentileCont icon, and then select the Configuration tab on the Properties pane.

  2. Select P and enter a percentile value, which must be between 0.0 and 1.0.

  3. Select Group field and select the input field containing the group key.

  4. Select Value field and select the input field containing the numeric values.

  5. Optionally, go to the Execution tab, and then set Web service options.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.