Home  >   Articles   >  Summary Variables

Summary Variables

Lavanya R
1 Jun, 2023 - Updated 11 months ago
Table of Contents


Summary Variables are metrics that summarize the number of field data into a single item for your products. 

For example, let us say you have a CPQ system for a software company and offer multiple software modules at different prices. You want to display the total price of the selected modules as a summary to your customers. In this case, you can create a summary variable called Total Price that calculates and displays the sum of the prices of the selected modules.

This summary variable, Total Price, can be defined with a formula that adds up the prices of the selected modules. For example, if the module prices are stored in individual fields (Module 1 Price, Module 2 Price, etc.), the formula for the Total Price summary variable could be:

Total Price = Module 1 Price + Module 2 Price + ...

Summary Variables are used as factors in pricing conditions, pricing actions, product rule error conditions, quote term conditions, etc.

Summary Variables in Vtiger CRM

Summary Variables in the CRM help you determine specific information you want to summarize for a product, like price-related metrics and feature counts. The Summary Variables module in Vtiger helps you define advanced computations for selected items in Products and Quotes. For example, aggregate count, quantity, and unit selling price of products.

You can also use them for data analysis to provide aggregated information about data points or records.

Summary Variables is a dynamic module available only for Products and Services. It can be accessed from Module Layouts & Fields from Products and Services. 

Summary Variable Fields 

The following Summary Variable fields are available in Vtiger CRM:

  • Count: The Count Summary Variable represents the number of occurrences or records in a dataset. The value field for the count Summary Variable contains the total count of the data points.
  • Quantity (Sum/Max/Min/Avg): This Summary Variable is often used to measure the total, maximum, minimum, or average quantity of a certain item or attribute in a dataset. The value field for the  Quantity Summary Variable will contain the calculated sum, maximum, minimum, or average value of the quantity depending on the chosen metric.
  • Unit Selling Price (Sum/Max/Min/Avg): The Unit Selling Price Summary Variable provides information about the prices at which individual product units were sold. The value field for the unit selling price summary variable will contain the unit prices' sum, maximum, minimum, or average value, depending on the chosen metric.

Feature Availability

One Pilot

One Professional

One Enterprise

Feature Availability

Summary Variables






Here are some benefits of using Summary Variables in Vtiger CRM:

  • Pricing Transparency: Summary variables play a crucial role in providing pricing transparency.
  • Real-time Calculation: Summary variables in CPQ  can be dynamically calculated based on the selected configuration options.
  • Guided Selling: Summary variables can serve as guideposts during the quotation process, helping sales representatives or customers make informed decisions.
  • Condition Flexibility: Summary variables allow flexibility in CPQ systems. You can apply conditions on the aggregate count, quantity, and unit selling price of products.

In this article, you will learn:

  • Adding Summary Variables
  • Creating Product Rules
  • Adding Product in Quotes

Creating Summary Variables

The value field of Summary Variables is the numerical result or value representing a particular summary metric. Creating summary variables involves aggregating or calculating metrics based on the data or configuration options available in the CPQ system.

The following steps are involved in creating Summary Variables: 

Step 1: Adding Summary Variables
Step 2: Creating Product Rule

Step 1: Adding Summary Variables

Follow these steps to add Summary Variables:

  1. Log in to the CRM.
  2. Go to Inventory.
  3. Select Products.
  4. Click +Add Summary Variable.
  5. Enter or select information for the following:
    1. Type Summary Variable Name.
    2. Select Conditions.
      1. All Conditions (All conditions must be met)
      2. Any Conditions (At least one must be met)
    3. Select the Value from the drop-down.
    4. Enable the Active checkbox.
  6. Click Save.

You have successfully added the Summary variable.

You can find it in Settings > Module Layouts and Fields section if you have successfully added a Summary Variable. 

Step 2: Creating a Product Rule

You need to create a Product Rule and enable the Quotes, Summary Variable option in the process.

Follow these steps to create a Product Rule:

  1. Log in to the CRM.
  2. Go to Inventory.
  3. Select Others.
  4. Select Product Rules.
  5. Click +Add Product Rule.
  6. Enter or select information for the following:
    1. Type the Product Rule Name.
    2. Enable the Active checkbox.
    3. Select Rule Scope from the drop-down.
    4. Select the Trigger from the drop-down.
    5. Select Rule Type from the drop-down.
    6. Type the message you want to notify the user in the Message textbox.
    7. Select Source Conditions. Enable the Quotes, Summary Variables option.
      1. Quotes, Products, Services
      2. Quotes, Summary Variables
  7. Select Source Conditions.
      1. All Conditions (All conditions must be met)
      2. Any Condition (At least one of the conditions must be met)
    2. Summary Variables can be selected in the following conditions fields:
      1. All Conditions (All conditions must be met)
      2. Any Condition (At least one of the conditions must be met)
  8. Click Save.

You have successfully created the Product Rule.

Note: If products added in the Quotes match Summary variable conditions, the configured product rule will be executed based on the trigger type. 

Use Case

Consider the following scenario:

A telecommunications company offers various features and add-ons. The customers can include in their phone plans, such as call minutes, text messages, data packages, and additional services like international calling or data roaming. Each feature has a corresponding price associated with it.

A summary variable can be used to provide customers with a clear overview of their selected features and the total cost of their customized plan.

  1. Variable Setup:

Create a Summary Variable called Total Cost to display the calculated total cost of the selected features.

  1. Formula Configuration:

Define the formula for the Total Cost Summary Variable. The formula will sum up the prices of the selected features. For example:

Total Cost = Call Minutes Price + Text Messages Price + Data Package Price + Additional Services Prices

  1. Dynamic Calculation:

The total cost is updated in real-time based on selected features in the CPQ interface.

  1. Real-time Visibility:

Total Cost is visible to both customer and sales rep for transparent pricing.

By adding Summary Variables to a product or service, customers can make informed decisions on customization. Sales reps can also provide accurate quotes and address pricing queries during the quoting process.

Summary variables improve the quoting process by providing real-time summaries. This helps customers make informed decisions and improves communication with sales representatives.

Was this article helpful?
0  out of  0  found this helpful.
Comments 0
Be the first to comment
© Copyright 2023 Vtiger. All rights reserved.