03 Tables
Tables and table formatting in Grafana.
What You'll Learn
Create table panels from time series data
Use the Reduce transformation to calculate statistics
Display sparklines (mini charts) in table cells
Configure cell display types (text, gauge, colored backgrounds)
Organize and rename columns
Add sorting and filtering capabilities
Prerequisites
Completed Tutorial 1.2: Your First Dashboard
Basic understanding of panel creation
Overview
Tables display data in a structured row-and-column format. In manufacturing dashboards, tables are perfect for:
Variable summaries β Show min, max, mean, and current values for multiple variables
Parameter comparisons β Compare settings across multiple machines or extruders
Trend indicators β Display sparklines showing how values changed over time
Status overviews β Color-coded cells showing which parameters are in range
While time series charts show data over time, tables excel at showing summarized data for multiple variables at once.
Creating a Basic Table
Step 1: Add a Panel and Select Variables
Edit your dashboard and click Add β Visualization
Select your ENLYZE data source
Choose a site and machine
Select multiple variables (e.g., several extruder throughputs or temperatures)
[SCREENSHOT: Query editor with multiple variables selected]
Step 2: Switch to Table Visualization
In the visualization dropdown (top right of panel editor), select Table
[SCREENSHOT: Visualization selector with Table highlighted]
You'll see raw time series data in table format β one row per timestamp
[SCREENSHOT: Basic table showing raw time series data with timestamps]
Note: This raw view isn't very useful for dashboards. We need to transform the data to show meaningful summaries.
The Reduce Transformation
The Reduce transformation converts time series data into summary statistics β turning many data points into single values like Min, Max, Mean, and Last.
Adding a Reduce Transformation
In the panel editor, find the Transform tab (between Query and Alert)
[SCREENSHOT: Transform tab location]
Click + Add transformation
Select Reduce
[SCREENSHOT: Reduce transformation in the list]
In the Calculations field, select the statistics you want:
CalculationDescriptionUse CaseLast *
Most recent non-null value
Current status
Min
Minimum value
Lowest point in range
Max
Maximum value
Peak detection
Mean
Average value
Typical operating point
Sum
Total of all values
Production counts
Count
Number of data points
Data availability
Difference
Last - First
Change amount
Difference percent
Percentage change
Trend direction
All values
Array of all values
For sparklines
[SCREENSHOT: Reduce transformation with multiple calculations selected]
Your table now shows one row per variable with calculated columns
[SCREENSHOT: Table after reduce transformation showing summary statistics]
Sparklines in Table Cells
Sparklines are mini charts embedded in table cells, showing the trend at a glance.
Adding Sparklines
In the Reduce transformation, ensure All values is selected as one of the calculations
Go to the Overrides section in the right sidebar
Click + Add field override β Fields with name β Select "All values"
[SCREENSHOT: Override selector with All values field]
Click + Add override property β Cell type
Select Sparkline
[SCREENSHOT: Cell type dropdown with Sparkline selected]
The "All values" column now displays sparklines
[SCREENSHOT: Table with sparklines showing in cells]
Sparkline Options
When you select Sparkline as the cell type, additional options appear:
Line color
Color of the sparkline (uses field color by default)
Draw style
Line (default) or Bars
Hide value
Show only the chart, no numeric value
Tip: Use a fixed color (like blue) for all sparklines to create a clean, consistent look. Set this in Standard options β Color scheme β Single color.
Cell Display Types
Grafana offers several ways to display values in table cells.
Accessing Cell Type Settings
Cell types are configured through field overrides:
Go to Overrides in the right sidebar
Add an override for the column you want to customize
Add the Cell type property
Available Cell Types
Auto
Grafana chooses automatically
Default
Colored text
Value text changes color based on thresholds
Warning indicators
Colored background
Cell background changes color
High visibility status
Gauge
Mini gauge showing value in range
Percentage values
JSON view
Raw JSON display
Debugging
Sparkline
Mini chart
Trends
Example: Colored Background for Status
Add an override for a column (e.g., "Difference percent")
Set Cell type to Colored background
Configure thresholds to set the colors:
Green: -0.5% to +0.5% (stable)
Yellow: -1% to -0.5% or +0.5% to +1% (slight change)
Red: Beyond Β±1% (significant change)
[SCREENSHOT: Table with colored background cells showing status]
Example: Gauge Cells
Add an override for a column (e.g., "Last *")
Set Cell type to Gauge
Configure Min and Max in Standard options
Choose Display mode: Basic, Gradient, or LCD
[SCREENSHOT: Table with gauge cells]
Column Organization
The Organize fields transformation lets you rename, reorder, and hide columns.
Adding Organize Fields Transformation
In the Transform tab, click + Add transformation
Select Organize fields by name
[SCREENSHOT: Organize fields transformation]
Renaming Columns
In the transformation, find the column you want to rename
Enter a new name in the text field
OriginalRenamedAll values
Trend
Difference
Change
Difference percent
Change (%)
Field
Variable
[SCREENSHOT: Column renaming in organize fields]
Reordering Columns
Drag columns up or down to change their order
A typical order might be:
Variable name (Field)
Current value (Last *)
Min, Max, Mean
Trend (sparkline)
Change indicators
Hiding Columns
Click the eye icon next to a column to hide it
Useful for hiding intermediate calculations like "First *"
Sorting and Filtering
Column Sorting
Users can click column headers to sort:
First click: Sort ascending (A-Z, low-high)
Second click: Sort descending (Z-A, high-low)
Third click: Remove sorting
To set a default sort:
In the right sidebar, find Table options
Under Initial sort, select the column and direction
[SCREENSHOT: Initial sort configuration]
Column Filtering
Enable filtering to let users search within columns:
Add a field override for the column
Add Filterable property and set to true
[SCREENSHOT: Filterable option in override]
A filter icon appears in the column header
Users can type to filter or select from values
Table Footer
Add summary calculations to the table footer.
Enabling the Footer
In the right sidebar, find Table β Footer
Enable Show table footer
[SCREENSHOT: Footer options]
Select a Calculation (Sum, Mean, Min, Max, Count)
Choose which Fields to include in the calculation
Use case: Show total throughput across all extruders by adding a Sum footer to the throughput column.
Value Mappings in Tables
Use value mappings to display text or icons instead of numbers.
Creating Trend Indicators
Add an override for the "Difference" column
Add Value mappings property
Create range mappings:
RangeDisplayColor< 0
"Down" or β
Red
= 0
"β"
Gray
> 0
"Up" or β
Blue
[SCREENSHOT: Value mapping for trend indicators]
Set Cell type to Colored text to apply colors
Example: Detailed Change Indicators
< -1%
ββ
Red
-1% to -0.5%
β
Yellow
-0.5% to +0.5%
β
Green
+0.5% to +1%
β
Light blue
> +1%
ββ
Blue
Practical Example: Extruder Summary Table
Let's build a comprehensive table showing multiple extruder parameters.
Configuration Summary
Variables
Extruder A/B/C Throughput, Feed Rate
Visualization
Table
Transformations
Reduce, Organize fields
Transformations
Reduce with calculations:
Last * (current value)
Min, Max, Mean
All values (for sparklines)
Difference percent
Organize fields:
Rename "Field" β "Variable"
Rename "All values" β "Trend"
Rename "Difference percent" β "Change (%)"
Hide "First *"
Reorder columns logically
Overrides
Trend
Sparkline
Blue color, line style
Change (%)
Colored background
Threshold colors
Last *
Gauge
Min: 0, Max: auto
Result
[SCREENSHOT: Complete extruder summary table with all features]
Tips and Best Practices
When to Use Tables vs. Charts
Showing exact values
Showing trends over time
Comparing many variables
Focusing on 1-3 variables
Users need to search/filter
Visual pattern recognition
Exporting data
Presenting to stakeholders
Design Guidelines
Keep it scannable: Use color-coding and icons to highlight important information
Limit columns: Show 5-8 columns maximum; hide less important data
Consistent formatting: Use the same units and decimal places across similar values
Meaningful names: Rename technical column names to user-friendly labels
Performance Tips
Tables with many rows (>100) can slow down
Sparklines add rendering overhead β use sparingly with large datasets
Consider filtering or limiting time ranges for better performance
Summary
You've learned how to create effective table visualizations:
Convert time series data to summary statistics with Reduce transformation
Add sparklines for in-cell trend visualization
Customize cell types (colored text, backgrounds, gauges)
Organize columns with renaming, reordering, and hiding
Enable sorting and filtering for interactive exploration
Use value mappings for visual status indicators
What's Next?
Continue learning about visualization types:
Advanced Styling β Units, field overrides, and more
Or explore intermediate features:
Dashboard Organization β Rows, folders, and linking
Quick Reference
Reduce Transformation Calculations
Last *
Most recent non-null
First *
First non-null
Min
Minimum value
Max
Maximum value
Mean
Average
Sum
Total
Count
Number of points
Range
Max - Min
Delta
Last - First
Difference
Last - First
Difference percent
% change
All values
Array (for sparklines)
Cell Types
Auto
Automatic based on data
Colored text
Text color from thresholds
Colored background
Background from thresholds
Gauge
Mini gauge visualization
Sparkline
Mini chart
JSON view
Raw JSON
Common Overrides for Tables
Cell type
Table β Cell type
Change display type
Column width
Table β Column width
Fixed width in pixels
Filterable
Table β Filterable
Enable column filter
Alignment
Table β Cell alignment
Left, Center, Right
Last updated