Limit Rows

Keep only the first N rows

What It Does

Limit Rows keeps only the first N rows. Optionally sort by a column first to get the top/bottom N by value.

How to Use It

Opening the Panel

Click the + button in the toolbar or press the operation picker, then search for "Limit Rows". It's in the Filter & Sort group.

Configuration

FieldTypeRequiredDescription
Number of rowsNumberYesHow many rows to keep
Sort byColumn selectNoColumn to sort by before limiting
Sort directionSelectNoASC or DESC

SQL Generated

SELECT * FROM data ORDER BY revenue DESC LIMIT 100
Try this operation →

Notes

  • Null values are handled gracefully - operations skip or preserve nulls where appropriate.
  • You can edit any pipeline step by clicking on its card to re-open the panel with the same settings.
  • The SQL preview shows exactly what will execute - inspect it before applying.

Related Operations