Row Limit in Query

You can set the Row Limit to restrict the number of rows included in the final query output. Following the steps from How to Create a Query. Here are the steps to set the row limit in a query.

  1. Go to Analytics > Dashboard Manager > Queries.

  2. Open an existing query.

  3. Click on the Series (S1) building block.

    Series building block S1 with the Gapminder source in the query editor.
    Series building block
  4. In the Series settings section:

    1. Click Add Section.

    2. Select Row Limit.
      info Limits the number of rows at this step of the query.

    3. In the Row Limit section:

      1. Enter the number of rows in the Row Limit.

    4. Close the series setting section.

      Row Limit section in the Series settings, with the Row Limit field set to 20.
      Row Limit settings
  5. Click Save.

Row Limit is an independent block. Later blocks (for example Sort) work only with the limited result set.