Reporting - How to Run a Custom Query

Written By Ascend knowledge base (Administrator)

Updated at December 12th, 2024

When you can't find report that fits your needs, you can request a custom report (called a query) from the Ascend support team.

The support tech will help figure out what kind of query we can create for you, what results should show, and if you need any prompts (such as a date range or vendor). Most requests are completed within 72 business hours.

Note: To run a custom query, you need the user permission Allow Commands in SQL Window. 

Running a custom query

If you're being contacted by email, the support tech will attach the query in a Notepad document.

  1. Start by copying all the query text in the Notepad document.
  2. Select the Reports tile in Ascend.
  3. Click the SQL Query in the top toolbar.
  4. In the top box, paste the query text.
  5. Click the Execute icon.
  6. If there is a prompt for the query, it will pop up now. Fill out the prompt and click OK.
  7. The results will display below.

Saving a query to your Reports

After running the query in Ascend you can choose to save it in your My Queries folder.

  1. In the top toolbar select File > Save

  1. Enter a name for your query.
  2. Select OK to save the report.
  3. Click Back to return to the Reports page.
  4. Click Back one more time to exit the Reports window. Ascend needs to refresh your Reports and add the new one.
  5. Select the Reports tile to re-open the report page.
  6. Scroll down to My Queries folder on the left.
  7. The new report should show, and you can double-click it to run it.

Additional Resources

KB22-065