Create Comparisons in Tables
In a grouped table chart, you can create date-based comparisons to highlight trends across groups.
Overview
Unlike single Qrvey metrics where you only have one aggregate to measure, grouped table charts contain multiple aggregates to measure. Qrvey's all-in-one view comparison accepts a single DateTime dataset column and defines one of the aggregated columns as a comparison column. A metric is created for each value in the comparison column.
All-in-one View Tutorial
The following tutorial video shows how to design an all-in-one view tabular report with comparison columns.
Tags: Chart, Table, Comparison
Create an All-in-one View Comparison
-
Select a dataset (for example, Employee Sales Performance) and open the Analyze tab.
-
Select Custom View, then Add Chart to open the Chart Builder.
-
Create a Table Chart.
-
Add a grouping field (for example,
AccountNumber). -
Add a few columns to the Columns pill (for example,
LineTotal,Freight, andSalesOrderID). -
Enable the comparison feature.
a. Open the Comparison panel.
b. Add a Date column (for example,
OrderDate).c. Add a time period comparison (for example,
This yeartoLast year). -
Add a Comparison column and set it to the column where you want to add comparisons over the selected time period (for example,
SalesOrderID(CNT)). -
Customize the metrics display as needed.
-
Add more comparison columns as needed (for example,
Freight(AVG)orLineTotal(SUM)). -
Save the table chart.
The chart displays a metric in each row for the comparison column showing year-over-year change with your chosen formatting.
Use the General panel to adjust group limits as needed. To display more entries, increase the Max groups setting.
Display and Formatting Options
- Percentage or absolute - Select the representation that best communicates the change.
- Arrows and colors - Use arrows and meaningful color choices (green/red, for example) to make trends immediately visible.
- Concise view - Hide numeric values if you prefer a minimal table that highlights direction only. Tooltips can still reveal exact values.
Best Practices
- Match the date field. Ensure the comparison uses the correct DateTime field (order date, invoice date, and so on).
- Add comparisons only where needed. Each comparison column increases table width. Try to keep the view focused.
- To avoid truncating rows, increase the max groups setting.
- Use consistent color rules. Keep color semantics consistent across reports to prevent misinterpretation.
- Consider using different timeframes for your charts. Besides year-over-year, a month-over-month or custom range might better answer a business question.