Examples of various formulas you can use while adding a new field
Table of Contents
Deals grid lets the admins define various formulas required to add a customized field on the Deals page and use it in the new field. It can be an easy formula to add two values or a complex formula involving multiplication and divisions of multiple values. The following video shows two examples to help you understand how to define and apply formulas while adding a new field.
Important
You need Admin access to create a new field on the Deals page.
Creating formula example fi: adding two values
Perform the following steps to add a formula to add two values (in this example, New ACV and Upside ACV):
- Log in to Aviso and from left hand side menu, select Admin.
- Under Config Tools, click Deals Grid.
The Deals Grid page appears and shows all the existing fields present on the Deals page.
You will be using the Field names of the existing fields on the Deals page to use them in the formula. For example, if you want to use this New ACV field in the formula, you have to use its Field name that is "Amount"
- Click Add New Field.
The Add Fields dialog box appears. - On the "Add Fields" dialog box, select the Formula Field checkbox. After selecting the Formula field checkbox, the Field dropdown list is deactivated and Formula field appears at the bottom of the dialog box.
- Enter a name of the new field in the Label field.
In this example, we have entered New ACV+Upside ACV.
- As the value that the new field will show is amount of the deals, select
Amount from the Format dropdown list. - Update the other fields such as Shown in mobile, Secondary, User role, and Pivot as required.
Note
In the Formula field, you can use any variables such as a, b, c or x, y, z, to add your desired formula and then de ne the variables. These variables represent the sources of your formula.
- Enter a+b in the Formula field.
- To define these two variables (a+b), click Add Formula Sources twice.
- Define variable a in the first Variable field and select the correct Field name from the Field Key dropdown list.
- Define variable b in the second Variable field and select the correct Field name from the Field Key dropdown list.
- Click Ok.
If you scroll down, you can see the newly added field on the Admin page. - Enter a commit message in the Commit message field and click Save Change
- Wait for some time as the changes are being updated.
- Open your Deals page and reload it.
You can see the newly added field New ACV +Upside ACV. You can see that the new field, New ACV+ Upside ACV, shows values that are summation of the values in the New ACV and Upside ACV fields
In this way, you can also create a combined value of two text fields such as Stage and the Manager forecast. While adding two text values, on the Add Field dialog box, from the Format dropdown list, you have to select String. The new field will show texts from both these fields together.
Creating formula example 2: adding two values, multiplying it by 200, dividing by fi5, and subtracting from another value
Perform the following steps to add two values (in this example, New ACV+ Upside ACV), multiply it by 200, divide by 15, and subtract from another value (TCV):
- From the left-hand side menu, click Admin to open the Admin page and from the Admin page click the Menu icon.
- Under Config Tools, click Deals Grid.
The Deals Grid page appears and shows all the existing fields present on the Deals page.
You will be using the Field names of the existing fields on the Deals page to use them in the formula. For example, if you want to use this New ACV field in the formula, you have to use its Field name that is "Amount".
- Click Add New Field.
The Add Fields dialog box appears. - On the "Add Fields" dialog box, select the Formula Field checkbox. After selecting the Formula field checkbox, the Field dropdown list is deactivated and Formula field appears at the bottom of the dialog box.
- Enter a name of the new field in the Label field. In this example, we have entered New reference.
- As the value that the new field will show is amount of the deals, select
Amount from the Format dropdown list. - Update the other fields such as Shown in mobile, Secondary, User role, and Pivot as required.
Note
In the Formula field, you can use any variables such as a, b, c or x, y, z, to add your desired formula and then de ne the variables. These variables represent the sources of your formula.
- Enter a+b200/15 - c* in the Formula field.
In this example, c is the new variable to represent the TCV field.
- To define these variables (a, b, and c), click Add Formula Sources three times.
- Define variable a in the first Variable field and select the correct Field name from the Field Key dropdown list.
- Define variable b in the second Variable field and select the correct Field name from the Field Key dropdown list.
- Define variable c in the third Variable field and select the correct Field name from the Field Key dropdown list.
- Click Ok.
If you scroll down, you can see the newly added field on the Admin page. - Enter a commit message in the Commit message field and click Save Changes.
- Wait for some time as the changes are being updated.
- Open your Deals page and reload it.
You can see the newly added field New reference.
You can see that the new field, New reference, shows values that are
summation of the New ACV and Upside ACV fields,
multiplied by 200, divided by 200 and subtract from TCV value.