---
source: https://carbone.io/documentation/design/repetitions/distinct.html
title: "Print only distinct value"
description: "Print only distinct value"
generated_at: "2026-07-13"
---

# Distinct

Print only distinct value  
COMMUNITY FEATURE Available for:  
✓ Carbone Cloud  
✓ Carbone On-premise  
✓ Embedded Carbone JS   v2.0+ 

## Distinct items

A custom iterator can be used to select distinct rows according to the attribute's value.

```cdata
[
  { "type": "car"  , "brand": "Hyundai" },
  { "type": "plane", "brand": "Airbus" },
  { "type": "plane", "brand": "Boeing" },
  { "type": "car"  , "brand": "Toyota" }
]
```

**Template:**

| Vehicles |
| --- |
| {d[type].brand} |
| {d[type+1].brand} |

**Result:**

| Vehicles |
| --- |
| Hyundai |
| Airbus |

## Related topics

- [Loop over object properties](/documentation/design/repetitions/with-objects.md)
- [Loop over array](/documentation/design/repetitions/with-arrays.md)
- [Sorting arrays](/documentation/design/repetitions/sorting.md)
- [Lookup](/documentation/design/repetitions/lookup.md)
- [Grouping](/documentation/design/repetitions/grouping.md)
- [Filtering arrays](/documentation/design/repetitions/filtering.md)
