Custom columns
Custom columns add your own columns to the Profit & Loss: prior periods, entity splits, budgets, variances and formulas, side by side with the standard columns. Build them in the Custom Report designer with Add custom column, then turn them on from the report's Select custom columns control.
Create a custom column
Open a Profit & Loss template in the designer and select Add custom column.
Pick the Column Type (it can't be changed after the column is created).
Fill in the type's fields (below), decide whether the column belongs in the Total (see below), optionally set a Column Name (leave it blank for a sensible automatic name), and select Add.
The seven column types
Date Range: a column for another period. Choose a Date Range Type (Month, Financial quarter, Financial year, Month to date, Quarter to date, Year to date, or Custom with its own From Date and To Date) and an Offset (periods). The offset help text says it best: "Use a negative number to go back or a positive number to go forward (e.g. -1 = previous period, 1 = next period)." Use it for a same-period-last-year or prior-month column that rolls forward automatically.
Entity Group: a column for selected Entities only, for example one column per division. Optionally give it its own date range; left as None it follows the report's dates.
Tracking Category Option Group: a column for selected Tracking Category options (with Show archived), for example a column per region or department.
Budget: a column showing selected Xero Budget figures, optionally on its own date range. Pair with actual columns for budget-vs-actual on one page.
Variance: the difference between a First column and a Second column, with an option to show it as a percentage of the second column. The two columns must differ.
Percentage: Show a column As a percentage of an account group, for example every line as a percentage of Revenue.
Formula: a calculated column built from other columns with the operator buttons and an editable formula, with an option to show the result as a percentage.
Include a column in the Total
A custom column stands on its own by default. Its figures are not added to the Total column, nor to the four columns that Show journals & eliminations (separate column) adds: Combined Pre-Elimination, Auto Eliminations, Consolidation Journals and Consolidated Total. On a report built only from custom columns, those five come back empty until you say otherwise.
That is the safe default, because most custom columns are not part of the group figure. Rolling a prior period or a budget into a group total gives a number that does not mean anything.
Variance, Percentage and Formula columns never go into the Total. They are worked out from other columns, so the tick box does not appear for them.
Tick Include this column in the Total and consolidation columns when the column is a straight split of the group instead, for example one column per entity, or one per tracking category option. Columns like those divide the group between them, so adding them up gives a total worth reading. The tick sits on the column itself, so set it when you create the column or when you edit it later. It is off to begin with.
When the columns you tick will not add up cleanly, the designer says so under the tick box: an entity that appears in two included columns or in none of them, or a column that is a budget or on its own date range. It is advice rather than a block, so you can still save the column and judge it yourself.
Manage columns
Each custom column's header has a menu with Edit and Delete (deleting asks "Are you sure you want to delete the custom column '{name}'?").
Drag column headers to reorder them.
Save the template to keep column changes; they count toward "{n} edits since last save".
Related: Custom report templates: the designer ยท Profit & Loss report