remove_bottom_rows
Removes the bottom N rows from a Power Query table by appending Table.RemoveLastN to its M query, reducing the dataset size.
Instructions
Power Query Remove Bottom Rows: drop the last N rows. Appends Table.RemoveLastN to the table's M query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"table": "<table>",
"count": "<count>"
},
"name": "remove_bottom_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | number of rows to remove from the bottom | |
| table | Yes | ||
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |