# Funnel Analysis Functions

Apache Pinot supports a few funnel functions:

## FunnelMaxStep

`FunnelMaxStep` evaluates user interactions within a specified time window to determine the furthest step reached in a predefined sequence of actions. By analyzing event timestamps and conditions set for each step, it identifies the maximum progression point for each user, ensuring that the sequence follows the configured order or other specific rules like strict timestamp increases or event uniqueness. This function is instrumental in funnel analysis, helping businesses and analysts understand user behavior, measure conversion rates, and identify potential drop-offs in critical user journeys.

{% content-ref url="/pages/YMJLGM2ZH4GvZGPG52Sn" %}
[FunnelMaxStep](/functions/funnel/funnelmaxstep-1.md)
{% endcontent-ref %}

## FunnelMatchStep

Similar to `FunnelMaxStep` , this function returns an array which reflects the matching status for the steps.

{% content-ref url="/pages/9Tj5H4koZaXVKSLRRQEu" %}
[FunnelMatchStep](/functions/funnel/funnelmaxstep-2.md)
{% endcontent-ref %}

## FunnelCompleteCount

This function evaluates all funnel events and returns how many times the user has completed the full steps.

{% content-ref url="/pages/4d1PLIzFTTCsryhf3ZHy" %}
[FUNNELCOMPLETECOUNT](/functions/funnel/funnelcompletecount.md)
{% endcontent-ref %}

## FunnelCount

This function evaluates funnel steps and returns the distinct correlated counts for each step.

{% content-ref url="/pages/vSoNQfkz44AT5QUVpvhQ" %}
[FUNNELCOUNT](/functions/funnel/funnelcount.md)
{% endcontent-ref %}

## Additional Reference Pages

* [funnelmaxstep.md](/functions/funnel/funnelmaxstep.md)
* [FUNNELSTEPDURATIONSTATS](/functions/aggregation/funnelstepdurationstats.md)
* [FUNNELEVENTSFUNCTIONEVAL](/functions/aggregation/funneleventsfunctioneval.md)


---

# 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.pinot.apache.org/functions/funnel.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.
