@barrowvian,
You can set the token on the search event done or progress for the first panel .
Here is a run anywhere example. As soon as the first panel is done, sourcetype token is set to the first value of the result. This token is then overriden by the clicked value later.
<dashboard>
<label>First Value Token</label>
<row>
<panel>
<table>
<search>
<query>index=_*|chart count by sourcetype|sort +sourcetype</query>
<earliest>-15m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
<!-- Set result.fieldvalue to the token. done can be replaced by progress as well-->
<done>
<set token="sourcetype">$result.sourcetype$</set>
</done>
</search>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">cell</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
<!-- Same token is used in drilldown also-->
<drilldown>
<set token="sourcetype">$row.sourcetype$</set>
</drilldown>
</table>
</panel>
</row>
<row>
<panel>
<table>
<search>
<query>index=_* sourcetype=$sourcetype$ |stats count by sourcetype</query>
<earliest>-15m</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
</dashboard>
... View more