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

# atoti.Measure.isin()

#### Measure.isin(\*values: Constant) → MembershipCondition\[MeasureIdentifier, 'IN', Constant] | RelationalCondition\[MeasureIdentifier, 'EQ', Constant]

#### Measure.isin(\*values: Constant | [None](https://docs.python.org/3/library/constants.html#None)) → MembershipCondition\[MeasureIdentifier, 'IN', Constant | [None](https://docs.python.org/3/library/constants.html#None)] | RelationalCondition\[MeasureIdentifier, 'EQ', Constant | [None](https://docs.python.org/3/library/constants.html#None)]

Return a condition evaluating to `True` where this measure evaluates to one of the given *values*, and evaluating to `False` elsewhere.

* **Parameters:**
  **values** – One or more values that the measure will be compared against.

### Example

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> df = pd.DataFrame(
...     columns=["City", "Price"],
...     data=[
...         ("Berlin", 150),
...         ("London", 270),
...         ("Madrid", 200),
...     ],
... )
>>> table = session.read_pandas(df, keys={"City"}, table_name="Example")
>>> cube = session.create_cube(table)
>>> m = cube.measures
>>> m["Price.SUM"].isin(150, 270)
m['Price.SUM'].isin(150, 270)
```

Conditions on single values are normalized to equality conditions:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> m["Price.SUM"].isin(150)
m['Price.SUM'] == 150
```
