Formula columns are calculated columns created from your data that enable you to derive business-specific metrics or calculations on the go. You can add them at the visual level or directly to your source database (database column).
Common use cases for formula columns include calculating profit margins, tracking performance metrics, creating planning and forecasting calculations, generating status indicators, and building custom KPIs from existing data.



Please ensure you have the required permissions to the database you are connected to, as you are adding a column directly to the source database.

The formula column is added to the table.

For more information about the available formulas and functions, you can refer to Formula Syntax.
The Expected EOL Date formula column adds the asset's expected lifetime to its purchase date to calculate the end-of-life date.
It uses the following formula:
DATEADD([Purchase Date], (365 * [Expected Lifetime In Years]))
For example, if the expected lifetime is 3 years, the formula adds 1,095 days to the Purchase Date.
Pasting a formula isn't supported. PowerTable resolves column references as you type, and pasted text doesn't preserve those references.
Type the formula manually, and use Ctrl+Space to insert each column reference instead of typing the bracketed column name as plain text.
The formula column is written to the database only if you select Create a database column in the Add Formula Column dialog.
If you don't create a database column, the formula column still persists in the PowerTable sheet. When you reopen the sheet, the formula column remains available, and its values are recalculated based on any changes to the underlying data.