Unfortunately the issue isn't with the additional field. Removing it is fine and it's what I've been trying to do, but although the search works in the Search application, the exact same query doesn't work in the dashboard. So this is working in Search: | dbxquery query="SELECT ..." connection="..."
| where match(Status, ".*")
| eval matchCount = 0
| foreach * [eval matchCount = matchCount + if(match(<<FIELD>>, ".*"), 1, 0)] but this is not in dashboard: <form>
<search id="mySearch">
<query>
| dbxquery ...
</query>
</search>
...
<row>
<panel>
...
<table>
<search base="mySearch">
<query>
| eval textSearchMatchCount = 0
| foreach * [eval textSearchMatchCount = textSearchMatchCount + if(match(<<FIELD>>, "$textSearchFilter$"), 1, 0)]
| where textSearchMatchCount > 1
| fields - textSearchMatchCount
</query>
</search>
</table>
</panel>
</row>
</form> The dashboard was complaining about the two lesser-than characters of <<FIELD>> so i replaced then with <. This works fine when either "" or ".*" string is used as the value of the $textSearchFilter$ token, but if I put a single other character, such as "P", there are zero results. Even "^.*$" works, but not "^.*P.*$" even though there are columns with the P character in them.
... View more