--- title: "Create a report to include query output best practice" slug: "create-a-report-to-include-query-output-best-practice" tags: ["Product Usage", "ePolicy Orchestrator – On-prem", "ePO 5.10.x", "ePO 5.10.0"] updated: 2026-09-07T17:46:26Z published: 2026-09-07T17:46:26Z canonical: "docs.trellix.com/create-a-report-to-include-query-output-best-practice" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a report to include query output best practice Once you have the query data saved, you must create a report to contain the information from the queries you ran before you can send it to the administrator team. You must know the format of the queries you are adding to the report. In this example the queries have these formats: - **VSE: Compliance Over the Last 30 Days** — Chart - **Inactive Agents** — Table Create a report that contains the data captured from your compliance queries, which is run automatically using a server task, then emailed to the administrators every Monday morning. For details about product features, usage, and best practices, click ? or Help. 1. Select **Menu** → **Reporting** → **Queries & Reports**, then select the **Report** tab. 2. Click **Actions** → **New**. A blank **Report Layout** page appears. 3. Click **Name** and type a name for the report, click **Description** and, optionally, type a description, click **Group,** and select an appropriate group to receive the report, then click **OK**. 4. In the **Report Layout** pane, drag and drop these query input formats from the **Toolbox** list: - For the **VSE: Compliance Over the Last 30 Days** chart query, drag the **Query Chart** tool into the **Report Layout** pane, then from the **Query Chart** list select **VSE: Compliance Over the Last 30 Days**, then click **OK**. - For the **Inactive Agents** table query, drag the **Query Table** tool into the **Report Layout** pane, then from **Query** table list, select **Inactive Agents**, then click **OK**. 5. Click **Save**, and the new compliance report is listed in the **Reports** tab. 6. To confirm that your report is configured correctly, click **Run** in the **Actions** column for your report, then verify that the **Last Run Status** displays **Successful**. 7. To see the report, click the link in the **Last Run Result** column, then open or save the report. That completes creating the report to display the two compliance queries and save their output to a PDF file.