To use a custom formula, go to the Data tab and click on the “fx” button
to the right of the aggregation configuration section.In the input field, write your formula using SQL aggregation functions.Here are some examples of custom formulas:SUM(price)SUM(revenue) - SUM(cost)