Marple Docs
  • Introduction
  • Marple Insight
    • Welcome
      • What is Marple Insight?
      • FAQ
      • Feedback
      • Release Notes
      • Roadmap
    • Setup and Configuration
      • Data connection
        • Supported Databases
          • Azure Data Explorer (ADX)
          • Microsoft Fabric
          • TimescaleDB & PostgreSQL
          • Mireo Spacetime
          • InfluxDB (Beta)
        • Connection configuration
          • Required Queries
          • Optional Queries
          • Templating
      • Deployment
        • Infrastructure
        • Identity Providers
        • Hardware
      • API
      • Python SDK
    • User Manuals
      • Data Library
      • Visualisation
        • Add Data Sets
        • Signal List
        • Functions
        • Plot types
          • Time Series
            • Signal Settings
            • Limits and Stacking
            • Zooming
            • Cursors
            • Text data
          • Scatter
          • Map
          • Frequency (FFT)
          • Aggregates
        • Mouse Actions
        • Tabs
        • Reorganise Plots
        • Compare data
        • Realtime
        • Export image
      • Motorsport Package
      • Flight Testing Package
      • Projects
      • Sharing
      • Team and accounts
        • Workspaces
        • Account Types
      • Keyboard Shortcuts
  • Marple Files
    • Welcome
      • What is Marple Files?
      • Quick Start
      • FAQ
      • Release Notes
    • User Manuals
      • Data
        • File Types
        • Time Precision
        • Data Points
        • Upload Data
        • Organise Data
        • Influx DB
      • Visualisation
        • Overview
        • Plot types
        • Mouse & Keyboard
        • Calculated Signals
        • Overlay Data Sets
        • Projects
        • Annotations
      • Analysis
        • Metric Builder
        • SQL Editor
        • Marple AI (GPT)
      • Reporting
        • Create Reports
        • View Reports
        • Share Reports
        • From data library to reports
      • Sharing and Accounts
        • Sharing
        • Team
        • Settings
      • For developers
        • API Access Tokens
        • API Guide
        • Python
Powered by GitBook
On this page
  • Get started
  • Edit aggregate
  • Aggregate Method
  • Filter
  • Group by
  • Bar settings
  • Text data
  1. Marple Insight
  2. User Manuals
  3. Visualisation
  4. Plot types

Aggregates

Perform powerful calculations across multiple data sets

PreviousFrequency (FFT)NextMouse Actions

Last updated 2 months ago

At Marple we believe that often one graph tells a better story than thousand data points. Yet sometimes the truth is really in a single number.

Marple caters to this by making it possible to add aggregates to your project.

There are three formats in which you can add aggregates to your project.

  • Table format, useful to show a bunch of data along two variables;

  • Number format, useful to show a single number;

  • Bar format, similar to the table format but more visual.

Get started

When you click on Add Plot, select the aggregate format you would like to add.

Edit aggregate

Whichever aggregate format you chose, to edit the calculation of the aggregate, click on the settings wheel in the top right of the plot.

This is where you can edit how your aggregate is calculated.

Aggregate Method

In the edit screen, you can select the method with which to calculate the aggregate.

Currently, the following aggregation methods are available:

  • Average

  • Minimum

  • Maximum

  • Sum

  • Count

Filter

In the filter section, you can define the conditions on which you want the metric to be calculated.

Setting a filter is optional. If you define multiple filters, they all need to be true. So filter1 AND filter2 have to be TRUE for a data point to be included in the aggregate.

Group by

In case you would like the aggregate to be a table or a bar chart, you should select a signal by which to group the calculation.

To add a signal, simply drag and drop a signal from the Signal List.

There are two ways of grouping the data:

  • Unique: Create a group for each unique value in the signal. This is great for discrete signals or text signals.

  • Bins: manually define the bin range, this defines the range of the signal's Y-axes values that should be included, and the bin size. This is the unit by which the range will be divided. This is useful when you have a continuous signal.

Consider the following example:

If the aggregate format is a bar chart, and the aggregate is the average of the engine temperature or avg(m.engine.temperature), you will have the following bar chart.

If you want to see the average engine temperature depending on the engine rate, you can use the engine rate signal to group and set the bin limits and width like this

To get the following bar chart.

You can also resample the different input signals, so that you can use signals together with different time bases. By default the frequency is chosen to be the lowest frequency among the input frequencies.

Bar settings

Finally, if you chose a bar chart to visualise your aggregate, you can also set the width of the bars as a share of the available space it should take.

Text data

You can use text data to group in bar charts and tables, the values are used as labels in the plot:

Distribution of the average engine temperature per lap
Text signal used to group in table
Text signal used to group in bar chart