# MIN

The *MIN* function returns the smallest number from a set of values. It evaluates the provided numbers or node references and identifies the lowest value among them. This function is commonly used in data analysis to determine minimum values, lower limits, or least-performing results within a dataset.

#### Syntax

<pre class="language-javascript"><code class="lang-javascript"><strong>MIN(value1, [value2], ...)
</strong></code></pre>

#### Arguments

* `value1`: The first number, array, or reference containing numeric values.
* `value2, ...` (Optional): Additional numbers, arrays, or references containing numeric values.

#### Return value

Returns the smallest value from the specified arguments.

#### Example

```javascript
MIN(Q1.Units, Q2.Units, Q3.Units, Q4.Units)
```

In the example below, the *Min Unit* measure is created using the MIN function, which returns the smallest unit value across the four quarters.

<figure><img src="/files/FyC93LPVfejK26V6IV2r" alt=""><figcaption></figcaption></figure>

#### Excel Equivalent

[MIN](https://support.microsoft.com/en-us/office/min-function-61635d12-920f-4ce2-a70f-96f202dcc152)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/math-functions/min.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
