---
schema_version: "1"
id: 7cb957ea1f1f6ceb87654e8ba91d99d806f0706c58c379a5f2c3f1c29798694d
title: Limit and Offset Interactions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_bindings/guides/bi-dashboard-bindings-wave-designer-use-case-limit-offset.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-bindings/guide/bi-dashboard-bindings-wave-designer-use-case-limit-offset.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: fff2e00c863d6e98d21fc7b9a11ae64d173b65428108aa7e1658ea067bd99f3f
products:
  - Analytics Interactions
  - analytics
---
# Limit and Offset Interactions

You can also bind the limit and offset of a SAQL query. These interactions don’t require data serialization functions.

Consider a source query that provides this data.

```json
[ {limit: 100, offset: 10} ]
```

To bind the limit and offset, use this logic.

```javascript
q = limit q {{cell(stepFoo.selection, 0, "limit").asString()}};
q = offset q {{cell(stepFoo.selection, 0, "offset").asString()}};
```

After CRM Analytics evaluates the interaction, the limit and offset become:

```javascript
q = limit q 100; q = offset q 10;
```

For information about limits and offsets, see the [CRM Analytics SAQL Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_saql.meta/bi_dev_guide_saql/bi_saql_intro.htm).
