# DISTINCTSUMMV

Returns the sum of the distinct row values in a group

## Signature

> DISTINCTSUMMV(colName)

### Usage Examples

These examples are based on the [Hybrid Quick Start](https://docs.pinot.apache.org/start-here/quick-start#hybrid).

```sql
SELECT DISTINCTSUMMV(DivLongestGTimes) AS VALUE
FROM airlineStats
WHERE arraylength(DivLongestGTimes) > 1
```

| VALUE |
| ----- |
| 1134  |
