I know this is old but @somesoni2's solution works like a dream. To put the cherry on top, if you want to also prevent the search from running in the background, we ended up going this route: <fieldset submitButton="false">
<input type="checkbox" token="first_token" searchWhenChanged="true">
<label>Generic Label Here</label>
<choice value="True">First Checkbox</choice>
</input>
<input type="checkbox" token="second_token" searchWhenChanged="true">
<label></label>
<choice value="True">Second Checkbox</choice>
</input>
...
</fieldset>
<row depends="$first_token$">
<panel>
<table>
<search depends="$first_token$">
<query>...</query>
<earliest>...</earliest>
<latest>...</latest>
</search>
</table>
</panel>
</row>
<row depends="$second_token$">
<panel>
<table>
<search depends="$second_token$">
<query>...</query>
<earliest>...</earliest>
<latest>...</latest>
</search>
</table>
</panel>
</row>
... This allows us to both dynamically select which "sections" of dashboards to load and the queries will not run until the panels are displayed as well, which cuts down on query run time for any given section, especially for complex dashboards.
... View more