# Troubleshooting Calculated Fields in Data Studio

---

***This article will assist with calculated fields that are displaying incorrect results.***

---

## Check Parentheses

The most common cause of calculated field errors is missing parentheses.

![The dialog box to edit a calculated field in Data Studio.](https://knowledge.powermyanalytics.com/application/troubleshooting/images/troubleshooting-calculated-fields-in-data-studio-1.png)

Type **SUM(fieldname)** around each field to obtain correct results.

![A popup explaining the SUM() function in Data Studio calculated fields.](https://knowledge.powermyanalytics.com/application/troubleshooting/images/troubleshooting-calculated-fields-in-data-studio-2.png)

> **Note:** **Prefer to skip report formulas altogether?** You can create the calculated field upstream in Power My Analytics instead. Data Builder's **Create Field** (Beta) feature lets you build custom metrics and dimensions before your data reaches Data Studio, with aggregation handled for you, so the field arrives in your report already calculated. See [Create Calculated Fields with Data Builder](https://knowledge.powermyanalytics.com/application/tools/data-builder-guide/) to get started.
