Phrazor SDK
Get API KeyPhrazor API
  • 👋Welcome
  • Docs
    • ⚡Quick Start
    • 🔑Get your API Key
    • Documentation
      • 📥Download and Import
      • 🔗Connect your Data
      • 🛠️Setup your Analysis
        • Descriptor
        • Change
        • Trend
        • Compare
        • Target vs Achievement
        • Budget vs Expense
        • Others
          • Filter your Data
      • 📋Generate your Insights
      • 📝Generate your Summary
      • 🔌Integrations
      • 💣Rate Limits
Powered by GitBook
On this page
  • Input Combinations
  • Topics
  • Examples
  • Generate Insights by Analysis
  • Generate Insights by Topics
  1. Docs
  2. Documentation
  3. Setup your Analysis

Target vs Achievement

PreviousCompareNextBudget vs Expense

Last updated 1 year ago

Target vs Achievement insights assess the degree to which predefined goals or targets have been met. They provide insights into goal attainment and performance evaluation. These insights reveal whether objectives have been met, exceeded, or fallen short.

Input Combinations

There are several different input combinations that you can leverage to bring out the different types of insights we offer for the Target analysis.

Sr No
Combination
1

Date, Metric 1 and Metric 2

2

Date, Metric 1, Metric 2 and Dimension

All the above mentioned input combinations are to be set using method.

Topics

Topic
Description

performance_breakdown

Provides a detailed breakdown of performance within the specified dimension. Input - Date, Metric 1, Metric 2 and Dimension

top_target_achievers

Identifies and lists the top target achievers within the specified dimension. Input - Date, Metric 1, Metric 2 and Dimension

bottom_target_achievers

Identifies and lists the bottom target achievers within the specified dimension. Input - Date, Metric 1, Metric 2 and Dimension

growth_achieve

Identifies the values/entities within the dimension that have achieved growth in their performance based on the given metrics. Input - Date, Metric 1, Metric 2 and Dimension

decline_achieve

Identifies the values/entities within the dimension that have experienced decline in their performance based on the given metrics. Input - Date, Metric 1, Metric 2 and Dimension

target_other

Gives other miscellaneous insights. Input - Identifies the values/entities within the dimension that have achieved growth in their performance based on the given metrics. Input - Date, Metric 1 and Metric 2 / Date, Metric 1, Metric 2 and Dimension

Examples

Generate Insights by Analysis

Generate insights for analyzing which Sales Person is able to Achieve their Target.

# Set column meta according to the input combination.
phrzr.set_column_meta(
    date_column={"name": "Date", "period": "month"},
    metric_column=["Sales","Target"],
    dimension_column="Sales Person"
)

insights = phrzr.get_insights('target')

print(insights)

Generate Insights by Topics

Let's gather insights regarding the top Sales Person Achieving their Target.

# Set column meta according to the topic input combination.
phrzr.set_column_meta(
    date_column={"name": "Date", "period": "month"},
    metric_column=["Sales","Target"],
    dimension_column="Sales Person"
)

insights = phrzr.get_insights(["top_target_achievers"])

print(insights)
🛠️
set_column_meta