> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LARGE

> The LARGE function returns the Nth largest value from a dataset. It is supported across multiple YiDA scenarios, including Form and workflow design. Provide an array and a number to retrieve the value at the specified position.

The **LARGE** function returns the Nth largest value from a dataset.

## Supported Product Scenarios

The LARGE function is supported in the following YiDA scenarios:

* Form (main form fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (associated actions)
* Integration and automation
* Workflow node
* Connector

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
LARGE(Array,number)
```

## Attributes

| **Attribute** | **Required** | **Description**                                                                |
| ------------- | ------------ | ------------------------------------------------------------------------------ |
| Array         | Yes          | Data of array type. You can directly use a Numerical component from a subform. |
| number        | Yes          | A number that specifies which largest value to return.                         |

## Return Value

| **Return type** | **Description**     |
| --------------- | ------------------- |
| Numerical       | The returned value. |

## Example

Use the `LARGE()` function to calculate the second-highest math score in the subform, as shown below.

## Try It

Return the third largest value from multiple detail rows (numeric data) in a subform.
