# Access Value Interactive type

**URL:** <https://discourse.holoviz.org/t/access-value-interactive-type/3912>\
**Category:** hvPlot\
**Created:** [July 7, 2022, 11:30am UTC](https://discourse.holoviz.org/t/access-value-interactive-type/3912 "2022-07-07T11:30:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jens](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@Jens](https://discourse.holoviz.org/u/Jens)\
**Post date:** [July 7, 2022, 11:30am UTC](https://discourse.holoviz.org/t/access-value-interactive-type/3912/1 "2022-07-07T11:30:20Z")

</div>

I want to first filter an interactive dataframe by widget an then pass the result as a variable in a line plot. The result has the type “Interactive”, so it doesn’t work. Is there a way to access the value an pass it to the plot?

1. 

```auto
Category = pn.widgets.Select(name='Kennzahl', options=['Kennzahl1',
 'Kennzahl2',
 'Kennzahl3 '])

```

1. 

```auto
mean = df[Category].mean()

```

1. 

plot = df.hvplot(x=x, y=mean, kind=‘line’)
