---
title: "Repeat Filter"
canonical: "https://support.appfire.com/space/REPS/472914895/Repeat%20Filter"
format: markdown
---
> Macro (aura-html)

### Description

This filter checks if the current value is different from the previous one in the report.

This filter is useful if you are working with data which is sorted according to a particular value and you only want to display the first occurrence of that value, rather than outputting the same text for each repeated occurrence.

This macro must be used within a reporter macro.

### Parameters

| Name | Required | Migratable to Cloud? | Default Value | Description |
| --- | --- | --- | --- | --- |
| [default]/key | - (/) | - NO |  | The key chain value to filter on. |
| match | - (X) | - NO | first | Specify whether to match the *first* item only (the default behaviour) or *repeats* only. May be:<br>- **first** - the first occurence only is displayed.
- **repeats** - the repeated occurrences are displayed, not the first occurrence. |

### Editor View

- Not applicable.

### Macro Edit View

- Not applicable.

### Notes

- Not applicable

# Tutorial Examples

> Macro (contentbylabel)