This article provides comprehensive guidance on using the trend analysis table to help you efficiently perform data trend analysis and visualization setup.
The trend analysis table is a visualization tool focused on time-based analysis of key metrics. It supports viewing data aggregated by different date granularities for key metrics, and allows further comparison, trend analysis, and calculation of averages for these metrics.
Drag dimensions and metrics into the columns, rows, metrics, and filter boxes, and adjust their positions.
warning
If the chart displays 'No data available' but the dataset actually contains data, it is possible that the selected time range or end date is incorrect.
The dimensions and metrics required to create a trend analysis table are as follows:
If the dimension is not a date at the day granularity, but instead a date at the hour, minute, and second granularity, an error message will be displayed when switching charts.
You can first adjust the date type to day granularity in the dimension bar before switching the chart. You need to switch the date type to another chart first, then switch to the trend analysis table.
The trend analysis table supports quickly switching the display granularity of time, and each time granularity supports setting the date range independently.
The date range can be configured within the date granularity, and the end date is the reference date from which this date range is calculated backward.
The default date display range is based on the "end date" (inclusive), and by default, it goes back N years (that is, starting from the year containing the end date (inclusive), the start date is N years earlier, up to the current end date). N defaults to 3. The input field is a numeric input control, and the range is integers greater than 0.
Example:
If the year calculation method is the natural year from January to December, and the end date is 20221215, with a date range of 3 years, then the range is 20200101-20221215.
If the year calculation method is from February to January of the following year, and the end date is 20221215, with a date range of 3 years, then the range is 20200201-20221215.
The default date display range is based on the "end date" (inclusive), and by default, it goes back N quarters (that is, starting from the quarter containing the end date (inclusive), the start date is N quarters earlier, up to the current end date). N defaults to 8. The input field is a numeric input control, and the range is integers greater than 0.
Example: If the end date is 20221215 and the date range is 2 quarters, then the range is 20220701-20221215.
The default date display range is based on the "end date" (inclusive), and by default, it goes back N bimonths (that is, starting from the bimonth containing the end date (inclusive), the start date is N bimonths earlier, up to the current end date). N defaults to 8. The input field is a numeric input control, and the range is integers greater than 0.
Example: If the end date is 20221215 and the date range is 2 bimonths, then the range is 20220901-20221215.
The default date display range is based on the "end date" (inclusive), and by default, it goes back N months (that is, starting from the month containing the end date (inclusive), the start date is N months earlier, up to the current end date). N defaults to 15. The input field is a numeric input control, and the range is integers greater than 0.
Example: If the end date is 20221215 and the date range is 2 months, then the range is 20221101-20221215.
The default date display range is based on the "end date" (inclusive), and by default, it goes back N biweeks (that is, starting from the biweek containing the end date (inclusive), the start date is N biweeks earlier, up to the current end date). N defaults to 8. The input field is a numeric input control, and the range is integers greater than 0.
Week calculation method: The dropdown options are as follows, with Monday to Sunday as the default.
Example: For example, if the week calculation method is Monday to Sunday and the cutoff date is 20221215, then for a date range of 2 biweekly periods, the range would be 20221128-20221215.
The default date display range is based on the "cutoff date" (inclusive). By default, the date range includes N weeks, counting backward from the week containing the cutoff date (inclusive) to the cutoff date. N defaults to 5. The input box is a numeric input control, and the range is integers greater than 0.
Week calculation method: The dropdown options are as follows, with Monday to Sunday as the default.
Example: For example, if the week calculation method is Monday to Sunday and the cutoff date is 20221215, then for a date range of 2 weeks, the range would be 20221205-20221215.
The default date display range is based on the "cutoff date" (inclusive). By default, the date range includes N days, counting backward from the cutoff date (inclusive). N defaults to 7. The input box is a numeric input control, and the range is integers greater than 0.
Example: For example, if the cutoff date is 20221215, then for a date range of 2 days, the range would be 20221214-20221215.
The trend analysis table supports setting the calculation method for metrics displayed on the chart.
The trend analysis table enables the year-on-year and period-on-period comparison feature by default. After selecting the "toggle display button", you can quickly switch between year-on-year and period-on-period comparison in the upper right corner of the chart.
The trend analysis table supports configuring Sparklines.
You can adjust the text alignment of columns, rows, and metrics.
You can adjust the style of the table header and table, such as font color, background color, and more.
You can adjust the display style of special values for dimensions and metrics.
You can adjust the display mode of the entire table. Display mode configuration includes: column width, column spacing, and row spacing.