---
title: HKPredicateKeyPathWorkoutSumQuantity
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkpredicatekeypathworkoutsumquantity
---

# HKPredicateKeyPathWorkoutSumQuantity

The key path for accessing workouts with a matching sum.

## Declaration

```swift
let HKPredicateKeyPathWorkoutSumQuantity: String
```

## See Also

### Specifying predicate key paths

- [HKPredicateKeyPathWorkoutType](healthkit/hkpredicatekeypathworkouttype.md)
- [HKPredicateKeyPathWorkoutDuration](healthkit/hkpredicatekeypathworkoutduration.md)
- [HKPredicateKeyPathWorkoutTotalDistance](healthkit/hkpredicatekeypathworkouttotaldistance.md)
- [HKPredicateKeyPathWorkoutTotalEnergyBurned](healthkit/hkpredicatekeypathworkouttotalenergyburned.md)
- [HKPredicateKeyPathWorkoutAverageQuantity](healthkit/hkpredicatekeypathworkoutaveragequantity.md)
- [HKPredicateKeyPathWorkoutMaximumQuantity](healthkit/hkpredicatekeypathworkoutmaximumquantity.md)
- [HKPredicateKeyPathWorkoutMinimumQuantity](healthkit/hkpredicatekeypathworkoutminimumquantity.md)
