Each SQL, Google Sheets, Excel, and Rest API Custom Metric supports only one data Aggregation function. To view the same SQL, Google Sheets, Excel, or Rest API Custom Metric with different Aggregation functions selected (i.e., "SUM" on one vs. "AVG" on another), follow the steps in this document to duplicate Custom Metrics and create the views you desire.
Pro Tip: Custom Metrics built using native integrations and Metric Builders support multiple aggregations by default.
HOW TO
- Set different data Aggregations for SQL Custom Metrics
- Set different data Aggregations for Google Sheets and Excel Custom Metrics
- Set different data Aggregations for REST API Custom Metrics
How to Set different data Aggregations for SQL Custom Metrics
Pro Tip: If you need our assistance setting up SQL Custom Metrics, please contact our Support Team via in-app chat or email us at help@databox.com.
How to set different data Aggregations for Google Sheets and Excel Custom Metrics
1. Navigate to Metrics > Custom Metrics
Pro Tip: If you want to store all values to Databox that were added in your Google Sheets/ Excel for the exact same Date/Timestamp, navigate to the Advanced metric definition > Data Aggregations tab and select Store all values, even if Date/Time is an exact match to another entry checkbox. This will store new values instead of updating existing ones data for the exact same Date/Timestamp.
6. To accurately explain what this Custom Metric is reporting on, set a name for your Custom Metric
7. Click Preview data to generate a Data Preview of the Custom Metric
8. Once you confirm that these are the results you're looking for, click Save to save the Custom Metric.
Pro Tip: If you need our assistance setting up Google Sheets or Excel Custom Metrics, please contact our Support Team via in-app chat or email us at help@databox.com.
How to set different data Aggregations for REST API Custom Metrics
Pro Tip: If you need our assistance setting up your REST API Custom Metrics, please contact our Support Team via in-app chat or email us at help@databox.com.