6 min readUpdated Mar 2, 2026

ComparisonTile Documentation

Overview

The ComparisonTile is an integral component of the Vantage analytics and data platform designed to facilitate side-by-side comparisons of datasets. It enables users to visually analyze differences or similarities between two sets of data through various chart types and enhances decision-making based on comparative analytics.

Purpose

The primary purpose of the ComparisonTile is to provide an interactive interface for users to compare two datasets (Dataset A and Dataset B) against specific criteria. This tile supports features such as:

Expected Data

The ComparisonTile expects the following data types to perform effectively:

Settings

The following settings are available for configuring the ComparisonTile:

1. Title

2. Subtitle

3. Data Reference IDs

4. Workflow ID A

5. Workflow ID B

6. Label A

7. Label B

8. Comparison Prompt

9. Default View

10. Slicer Column A

11. Slicer Column B

12. Selected Data A

13. Selected Data B

14. Refresh Key

How It Works

  1. Initialization: When the ComparisonTile component mounts, it initializes state variables to manage data loading, errors, and comparison results.
  2. Data Fetching: It fetches data from specified workflows or selected datasets based on provided reference IDs. The component concurrently retrieves data for both Dataset A and Dataset B.
  3. Caching Mechanism: It implements a session-level cache to store comparison data, thereby preventing unnecessary repeated fetch requests. Cache invalidation occurs on data changes or manual refreshes.
  4. Slicer Functionality: Users can apply filters via slicers on specified columns for both datasets to refine data being compared.
  5. Error Handling: In the event of fetching failures, appropriate errors are handled and displayed.
  6. Comparison Generation: Once valid datasets are available, it computes the comparison, allowing for visual rendering based on selected visualization modes.

Use Cases & Examples

Use Case 1: Sales Performance Comparison

Use Case 2: Marketing Campaign Effectiveness

Use Case 3: Inventory Analysis

AI Integrations

The ComparisonTile is compatible with advanced AI features that can analyze the comparative datasets and provide insights, trends, or recommendations based on the data. These integrations can help in uncovering hidden patterns or performance metrics that aid in strategic decision-making.

Billing Impacts

Utilizing the ComparisonTile may have billing implications depending on usage:

This comprehensive documentation provides a detailed overview useful for developers and users working with the Vantage analytics platform's ComparisonTile.