# Analytic query plugin

**URL:** https://community.automationedge.com/t/analytic-query-plugin/2407
**Category:** Get Help & Discuss
**Created:** [July 24, 2020, 2:19pm UTC](https://community.automationedge.com/t/analytic-query-plugin/2407 "2020-07-24T14:19:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pradnyaB](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@pradnyaB](https://community.automationedge.com/u/pradnyaB)
#### Post date: [July 24, 2020, 2:19pm UTC](https://community.automationedge.com/t/analytic-query-plugin/2407/1 "2020-07-24T14:19:18Z")

</div>

When to use analytic query plugin?

---

<div class="post-metadata">

### Author: ![Shital\_Nair](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Shital\_Nair](https://community.automationedge.com/u/Shital_Nair)
#### Post date: [July 24, 2020, 2:21pm UTC](https://community.automationedge.com/t/analytic-query-plugin/2407/2 "2020-07-24T14:21:12Z")

</div>

Analytic Query step is used to execute analytic queries over a sorted data set. This step allows you to peek forward and backwards across rows (e.g. LEAD, LAG, FIRST, LAST).
