Hi Experts, My data source consists of a CSV file containing columns such as TIMESTAMP, APPLICATION, MENU_DES, REPORTING_DEPT, USER_TYPE, and USR_ID. I have developed a Dashboard that includes a time picker and a pivot table utilizing this data source. Currently, the user wishes to filter the pivot table by APPLICATION. I have implemented a dropdown menu for APPLICATION and established a search query accordingly. However, the dropdown only displays "All," and the search query dont seeem to be returning values to the dropdown list. Additionally, I need to incorporate a filter condition for APPLICATION in the pivot table based on the selection made from the dropdown menu. Could you please assist me with this? Below is my dashboard code. <form hideChrome="true" version="1.1">
<label>Screen log view</label>
<fieldset submitButton="false" autoRun="false">>
<input type="time" token="field1">
<label></label>
<default>
<earliest>-30d@d</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="SelectedApp" searchWhenChanged="true">
<label>Application Name</label>
<search>
<query>
index="idxmainframe" source="*_screen_log.CSV"
| table APPLICATION
| dedup APPLICATION
| sort APPLICATION
</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
</search>
<fieldForLabel>apps</fieldForLabel>
<fieldForValue>apps</fieldForValue>
<choice value="*">All</choice>
<default>All</default>
</input>
</fieldset>
<row>
<panel>
<table>
<search>
<query>| pivot screen ds dc(USR_ID) AS "Distinct Count of USR_ID"
SPLITROW APPLICATION AS APPLICATION
SPLITROW MENU_DES AS MENU_DES
SPLITROW REPORTING_DEPT AS REPORTING_DEPT
SPLITCOL USER_TYPE BOTTOM 0 dc(USR_ID)
ROWSUMMARY 0
COLSUMMARY 0
NUMCOLS 100
SHOWOTHER 1 | sort 0 APPLICATION MENU_DES REPORTING_DEPT
</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
</row>
</form>
... View more