Compare
Last updated
Last updated
Compare helps you understand the relationships and variances within your data based on various performance metrics. It focuses on evaluating and contrasting different aspects or entities within a dataset. It enables users to assess the relationships, differences, and similarities between various dimensions, metrics, or entities to draw meaningful insights. Using this, you can examine the comparison between two measures or two values/entities of a dimension.
You can either Compare by Dimension or Compare by Metrics.
This analysis combination helps you to compare two values that belong to the same dimension.
1
Date, Metric, Dimension, compare_value_1 and compare_value_2
compare_by_performance
Compares data based on performance metrics.
compare_by_contribution
Compares data based on contribution metrics.
compare_by_rank
Compares data based on rank metrics.
While comparing by dimension, if no compare value parameter is given then the first 2 values from the given data will get picked up.
Generate insights by comparing the South and West Region based on their weekly Sales
Let's compare South and West Region on the basis of their contribution to weekly Sales.
This analysis combination helps you to compare two metrics with or without dimension.
1
Date, Metric 1 and Metric 2
2
Date, Metric 1, Metric 2 and Dimension
compare_overall_primary_secondary
Provides insights on comparison between the two metrics.
Input
- Date, Metric 1 and Metric 2
compare_primary_secondary_dim
Offers insights on comparison between the metrics for the given dimension.
Input
- Date, Metric 1, Metric 2 and Dimension
compare_other
Gives other miscellaneous insights.
Input
- Date, Metric 1 and Metric 2 / Date, Metric 1, Metric 2 and Dimension
Generate insights by comparing the Sales and Profit.
You can even compare Sales and Profit Region wise.
To compare metrics for an individual Region, you can utilize the focus_on_value
parameter when calling the get_insights
method.
Let's gather insights regarding the weekly comparison between Sales and Price.