title: PowerApps: Unable to Filter/Search DataTable on a choice SharePoint column
body: <p>I have SharePoint list I'm viewing in a PowerApps screen using the DataTable control. I need to filter down the rows based on if one of the fields (happens to be a choice of string values) has a certain value.</p>
  <p><a href="https://i.stack.imgur.com/OIxw5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OIxw5.jpg" alt="enter image description here" /></a></p>
  <p>I have a drop-down control (Dropdown1) that has all the choices for that field. Its items property is &quot;Choices('SD Fast'.Progress)&quot;.</p>
  <p><a href="https://i.stack.imgur.com/jNw3g.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jNw3g.jpg" alt="enter image description here" /></a></p>
  <p>Here is the expression that is used as the source (Items property) for the DataTable control:</p>
  <pre><code>Search('SD Fast', Text(Dropdown1.SelectedText.Value), &quot;Progress&quot;)
  </code></pre>
  <p>I'm getting an error message on this expression: &quot;The function search has some invalid arguments&quot;.</p>
  <p><a href="https://i.stack.imgur.com/vyHEA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vyHEA.jpg" alt="enter image description here" /></a></p>
  <p>If I change the search to look at a plain text column, it works fine.</p>
  <p>Please advise. Thanks, guys!</p>