You can view the query of a Data Panel in the Settings dialog of the Dashboards page, but you must edit it on the Search page. Here's a quick way to access that functionality.
To edit a query:
- Click a section of the Data Panel to open the query in the Search page.
- Edit the query as necessary.
- Click Update Dashboard save your changes and return to the dashboard.