tailPct
The tailPct method returns a table with a specific percentage of rows from the end of the source table.
Caution
Attempting to use tailPct on a blink table will raise an error.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| percent | double | The percentage of rows to return. This value must be given as a floating-point number between 0 (0%) to 1 (100%). |
Returns
A new table with a specific percentage of rows from the end of the source table.
Examples
The following example filters the table to the last 40% and 33.333333333% of rows.