---
title: Enum
slug: enum
docTags: 
createdAt: 2021-09-14T17:56:50.000Z
---

An Enum represents one value out of a set of allowed values, each with a unique label.

This is the value type produced by the "Single Select", "Multiple Select", "Numeric Scale", and "Smart Bucket" field types.

### Properties

| **Property** | **Type**                                | **Description**                                                                           |
| ------------ | --------------------------------------- | ----------------------------------------------------------------------------------------- |
| `label`      | [String](docId\:Ujw2AQAktel5uukLuP73S)  | The label of the Enum value, for example `Meets Expectations`                             |
| `color`      | [String](docId\:Ujw2AQAktel5uukLuP73S)  | The hex color code of the Enum value                                                      |
| `num`        | [Number](docId\:ucI5tCTfVBhonEJ6ZQijg)  | If the value comes from a Numeric Scale field, the numeric value of this value            |
| `expr`       | [String](docId\:Ujw2AQAktel5uukLuP73S)  | If the value comes from a Smart Bucket field, the Carrot formula expression of the bucket |

### Type Conversions

Enums that contain `num` values can be used in place of [Number](docId\:ucI5tCTfVBhonEJ6ZQijg) for math operations, and will be automatically converted to their numeric value.

- For example, you can call `mean(performanceRating1, performanceRating2)` to average together two different "performance rating" enums.

