Tractorscope Logo
Documentation
Getting Started

Connect to a database

Create your first dashboard and chart

Enabling two-factor authentication

Logging into Tractorscope

Support

Query Skills

SQL Joins Guide

Aggregation Filter

The Aggregation filter can be used in a query. This will allow for your query to be dynamically aggregated from your dashboard filters, or embedded API url creation.
 
select [payments.created_at:aggregation] from payments
The aggregation filter can applying on the dashboard:
Aggregation filter on dashboard view
Aggregation filter on dashboard view
 
 
The aggregation filter can also be applied when composing the embeddable URL. Using Aggregation as the key in your filter array.
 
// aggregate by day filters: { "Date Range": "last_month", "Aggregation": "day", "ClientId": "YourClientId", }, // aggregate by quarter filters: { "Date Range": "last_month", "Aggregation": "quarter", "ClientId": "YourClientId", },
Here are the available aggregation values:
:sec :min :hour :day :date :week :month :quarter :year
 
Happy aggregating those results!
Tractorscope Footer

Tractorscope was born from the need to quickly create beautiful dashboards from valuable data, affordably. Our goal is to help small and medium businesses, and startups unlock the value that sits in their databases.

Happy queries!

Features
Database Connection SSH Tunnel
Support

©2024. All Rights Reserved. Tractorscope LLC.

Terms of UsePrivacy Policy