---
title: "Session basics"
canonical: "https://support.appfire.com/space/JPP/148570142/Session%20basics"
format: markdown
---
> Macro (aura-html)

### Filter completed work items

In **Velocity-based** mode, you can filter completed work items using JQL. This is useful when a sprint contains work completed by multiple teams, and you want the capacity calculation to include only the completed work for your team. Use the following steps:

1. Open the **Velocity-based** capacity calculator.
2. Enter a JQL query in **Filter for completed work items**.
3. The capacity calculation uses only completed issues that match the query.