Top / Bottom Rows

Show top or bottom N rows by column value

What It Does

Top / Bottom shows the highest or lowest N rows. Similar to Limit but with explicit top/bottom mode selection.

How to Use It

Opening the Panel

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

Configuration

FieldTypeRequiredDescription
ModeSelectYestop or bottom
CountNumberYesNumber of rows to show
Sort columnColumn selectNoColumn to rank by

SQL Generated

SELECT * FROM data ORDER BY revenue DESC LIMIT 10
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