Skip to main content

Pivot Table Widget

Pivot Table Widget

Overview

The Pivot Table widget provides a powerful tabular display that groups and aggregates data by various dimensions. It's perfect for analyzing large datasets, creating cross-tabulations and generating quick summaries with the ability to pivot data fields for different analytical views.

Use Cases

  • Data Analysis - Explore large datasets with multiple dimensions
  • Cross-Tabulation - Create pivot tables showing relationships between variables
  • Aggregation - Summarize data by various grouping criteria
  • Reporting - Generate detailed reports with subtotals and grand totals
  • Trend Analysis - Compare values across different time periods or categories

Key Features

  • Multi-dimensional data grouping
  • Dynamic row and column pivoting
  • Aggregation functions (sum, average, min, max, count)
  • Subtotal and grand total calculations
  • Filtering and sorting capabilities
  • Export to PDF, Excel, or CSV

Configuration

Basic Settings

FieldRequiredDescription
Title❌ NoDisplay name for the widget
Measures✅ YesChoose measures to include from different Things

Data Settings

FieldRequiredTypeDescription
Timeframe✅ YesWidgetRelativeWindowRelative time frame for data display
Aggregation✅ YesTimeseriesAggregationMethod to aggregate data (AVG, SUM, MIN, MAX, COUNT)
Gapfill❌ NoGapFillHandle missing data (NONE, TIME, LOCF)
Table Config✅ YesanyTable configuration settings (columns, sorting, etc.)

Each measure in the configuration requires:

  • id - Unique identifier
  • measure - Telemetry measure name
  • thingId - Associated Thing ID
  • aggregation - Aggregation method for this specific measure
  • alias - Display name for the measure
  • dataType - Data type of the characteristic

Display Options

FieldRequiredDescription
Date Alias❌ NoCustom label for the date column
Date Format❌ NoFormat string for date display
Override❌ NoUse widget-specific time settings instead of dashboard defaults
Transparent❌ NoRemove widget background
Border color❌ NoCustom border color
Background Color❌ NoCustom background color

Best Practices

  1. Limit Dimensions - Use 2-3 dimensions for optimal readability
  2. Choose Appropriate Aggregation - Select aggregation that matches your analysis needs
  3. Use Filters - Apply filters to focus on relevant data

What's Next?