---
schema_version: "1"
id: e29981bb4e87959a09d9c3e85e3f0ef56026cfb78cd395ed108d593efb4ad7c7
title: Setting Up RangeAttributePricingMatrix
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_setting_up_rangeattributepricingmatrix.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_setting_up_rangeattributepricingmatrix.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 35f093d22b74d2314f54d210693597c753ffd84f5555fdfda716fcfd32d97f72
description: The RangeAttributePricingMatrix enables you to implement attribute-based pricing that evaluates a range of numeric values in an attribute or a field. Using this approach, you can override pricing for a product when, for example, the Quantity field on the line item exceeds a certain threshold or the numeric value of an attribute falls within a certain range. You can also use this matrix to allow volume-based pricing simply based on quantity alone (no attributes necessary).
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Setting Up RangeAttributePricingMatrix

The RangeAttributePricingMatrix enables you to implement attribute-based pricing that evaluates a range of numeric values in an attribute or a field. Using this approach, you can override pricing for a product when, for example, the **Quantity** field on the line item exceeds a certain threshold or the numeric value of an attribute falls within a certain range. You can also use this matrix to allow volume-based pricing simply based on quantity alone (no attributes necessary).

SourceTargetAttributePricingMatrix is part of the Attribute/-Based Pricing process.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)

Note

If you are using Energy & Utilities Cloud, see [Attribute-Based Pricing with Usage Pricing and Cost and Margin](https://help.salesforce.com/s/articleView?id=ind.comms_attribute_based_pricing_with_usage_pricing_and_cost_and_margin.htm&language=en_US) for how to edit pricing matrices for commodity products.

This calculation matrix is preconfigured with the column headers that define the source products, product attributes, MRC and NRC prices, and the **Quantity** field as an example. Before deploying it, you must populate the matrix with data. You can enter data manually to import a comma-separated values (CSV) file.

The data type of the column used to define the range should be Text Range for Order Product, Quote Product, or Opportunity Product sObjects or product attributes.

Each range defined for an attribute or field must not overlap with a range on another row of the matrix. For example, do not create a range like this: 0-10 on one row and 10-20 on another row. In this case, the pricing plan service has two matches when the attribute or field is set to 10. Instead, specify 0-9 in one row and 10-19 in another row to ensure the pricing plan service finds a single match when evaluating the matrix.

When entering a range for an attribute, specify two numbers separated by a dash; for example, 10-19.

If you have multiple attribute values, separate them with semi-colons, even those with ranges as shown in the highlighted example below.

Create a separate column for each field that must be evaluated. Use the API field name for the column header name. In this sample matrix, the range field is **Quantity**.

To combine target product and path pricing with range pricing, add a **Target Product Name** column and adjust the calculation procedure to include the Target Product Name in the output.

If desired, you can delete the **Characteristic Name** and **Characteristic Value** columns from the matrix, and use only the **Quantity** field to create a simple volume-based pricing matrix that does not include any attributes.

The RangeFields parameter in the Pricing Plan Step should correspond to the API name of the column designated as a Range type.

**Entering input data to the Range AttributePricingMatrix**

![Entering input data to the range AttributepricingMatrix](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/comms_media_energy_managed/images/Range_AttributePricingMatrix.png)

1. Navigate to the **Vlocity Calculation Matrices** tab, and find the **RangeAttributePricingMatrix** that you installed from the DataPack.
2. Click **RangeAttributePricingMatrix**.
3. Scroll to **Vlocity Calculation Matrix Versions** related list at the bottom of the page.
4. Click **RangeAttributePricingMatrix v1**.
5. In **Vlocity Calculation Matrix Version Detail**, click **Create New Version**.
6. Expand the **Table** related list.
7. Enter your data using the user interface in the **Enter New Data for Inputs** section, or click the **Upload CSV** button to import a comma-separated values (CSV) file.
8. Click **Save Data**.
9. At the top of the page in the **Vlocity Calculation Matrix version Detail,** click **Edit**.
10. In the **Priority** field, enter 10 or a value greater than the priority on the v1 matrix included in the DataPack.
11. Check **Enabled**.
12. Click **Save**.
    
    After you've entered your data, go to the next step. [Setting Up a Calculation Procedure s for Attribute-Based Pricing](https://help.salesforce.com/s/articleView?id=ind.comms_calculation_procedures_for_attribute_based_pricing.htm&release=264.0.0&type=5 "To speed your deployment, ​Salesforce Industries Communications, Media, and Energy provides preconfigured calculation procedures and matrices for attribute-based pricing.").