Formula fields can be created directly in the custom report builder, letting you transform your data with row-level calculations. You can now build new reporting fields on the fly—faster, easier, and more intuitive than before
You can see the demo of all the latest updates to Formula fields here: Loom demo
Turning raw data into insights often required work outside HubSpot. Formulas remove that friction, so you can calculate values like conversion rates, adjusted revenue, or discounts—without exporting to spreadsheets.
This updated beta makes formula building smoother, clearer, and more powerful. Now, you can:
Start: Click the new Create Formula button in the middle “Configure” panel.
Build & Preview: A full-page modal opens with tooling to help you create your formula fields including:
Insert Fields dropdown with In report badge
Common Formulas
Functions Library
Create Formula with AI
Formula Assistant Guide
Formula Example with Preview
Save & use The new formula column appears in your report alongside other fields. You can filter, drill into, and format it just like any other property. Note: Filtering the formula field does not support dropdown values yet so you will have to type out the values to use the filter on Formula fields.
Dealing with No values
For numeric formula fields, you will see "Change null value to zero" toggle (this is default off). Properties with NULL values—which are presented as "(No value)" in HubSpot—will impact the output of your formula, depending on how you decide to treat these empty values. You can choose to keep these "No value" distinctions as is—meaning, those rows will not be counted in the formula field's row-level calculation—or you can choose to convert those "No values" into zeros.
For example, if you wanted to calculate the amount of revenue you brought in, minus any discounts that were provided, you would want the deals without any discounts to have a discount represented as "0." Otherwise, you would be leaving out revenue that should be accounted for. (Note: Screenshots below are from the older experience but same functionality applies in the updated experience)
When seeing the formula field in your report, you can see from the visualization and the drill-down table that the formula field is properly calculating the final amounts you want because the "No value" rows are being accounted for.
However, it is important to know when to convert "No values" to zeros, since there are instances when you want empty values to simply not count towards your calculations and aggregations. For example, say you wanted to manually add a $100 discount to all of your deals that have a known amount.
If you decided to convert "No values" to a zero, it would create a negative amount if a deal doesn't have an Amount listed, whereas keeping the empty values as-is skips over the row and doesn't apply the automatic discount.
When adding a formula field to your report's configuration, you will have all of the same options as other Number properties, such as formatting and aggregation.
Formula fields perform row-level math on your data table, which means the calculation is performed on a row-by-row basis. This is different than aggregate math, which is performed on the column level.
Row-level
Column-level
CMS Enterprise, CMS Pro, Marketing Enterprise, Marketing Pro, Operations Enterprise, Operations Pro, Sales Enterprise, Sales Pro, Service Enterprise, Service Pro