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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://axiom.co/docs/feedback

```json
{
  "path": "/apl/scalar-functions/conditional-function",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Conditional functions

> Learn how to use and combine conditional functions in APL.

Use conditional functions to branch query logic based on evaluated predicates. They let you map values to labels, define alert tiers, or apply different transformations to different rows in a single expression.

## List of functions

| Function                                                | Description                                                                                       |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [case](/apl/scalar-functions/conditional-function/case) | Evaluates a list of conditions and returns the value paired with the first condition that's true. |
| [iff](/apl/scalar-functions/conditional-function/iff)   | Evaluates a single predicate and returns one of two values. `iif` is an alias.                    |
