> For the complete documentation index, see [llms.txt](https://docs.valq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valq.com/model/formula-functions/static-identifiers/current_series_id.md).

# CURRENT\_SERIES\_ID\*

### Syntax

CURRENT\_SERIES\_ID == 'series'? value1:value2

### Arguments

series - Refers to the series label i.e., Forecast, Budget, etc.

value1 – The value that should be assigned to the series mentioned in the argument list. If series is mentioned as Forecast, value1 is assigned as the series Forecast.

value2 – The value that should be assigned to the series other than the one mentioned in the argument list. If series is mentioned as Forecast, value1 is assigned as the series Comparison.

### Example

Consider a scenario where you want to assign 100 as the monthly Forecast value and 85 as the monthly Budget value.

This can be achieved by using the formula:

<mark style="color:blue;">**CURRENT\_SERIES\_ID == 'Forecast'?**</mark>**&#x20;100:85**

{% hint style="info" %}
\*This function's development is in progress.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.valq.com/model/formula-functions/static-identifiers/current_series_id.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.
