# How to get selection for plot s. over Time of descriptive Statistics Filter?

**URL:** https://discourse.paraview.org/t/how-to-get-selection-for-plot-s-over-time-of-descriptive-statistics-filter/2473
**Category:** ParaView Support
**Created:** [August 26, 2019, 6:42am UTC](https://discourse.paraview.org/t/how-to-get-selection-for-plot-s-over-time-of-descriptive-statistics-filter/2473 "2019-08-26T06:42:19Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 26, 2019, 7:27am UTC](https://discourse.paraview.org/t/how-to-get-selection-for-plot-s-over-time-of-descriptive-statistics-filter/2473/7 "2019-08-26T07:27:18Z")

</div>

Right, you want to select rows in a table, i missed that.  
There is no SelectRows (yet), but you can do it manually with the following code:

```
selSource = servermanager.sources.SelectionQuerySource()
selSource.FieldType = "ROW"
selSource.QueryString = "id == 2"
descriptiveStatistics.SMProxy.SetSelectionInput(descriptiveStatistics.Port, selSource.SMProxy, 0)

```

be aware that the Spreadsheet view does not update itself with these manual selections, so you will have to create a new one to see it.

---

_[View the full topic](https://discourse.paraview.org/t/how-to-get-selection-for-plot-s-over-time-of-descriptive-statistics-filter/2473)._
