A computed table in Power BI is a table you create with DAX instead of loading it from a data source. You get one by opening the Modeling tab and choosing New table, then writing a DAX expression such as Sales Summary = SUMMARIZE(Sales, Sales[Region], "Total", SUM(Sales[Amount])). The result behaves like any other table: you can build visuals from it, write relationships to it, and reference it in other measures. It recalculates when the model refreshes, and its definition lives inside the model rather than in the source file. This guide walks through where computed tables fit, how to build one safely, and the mistakes that most commonly break them.

One clarification up front: a computed table is not the same as a calculated column. A calculated column adds one column to an existing table and is evaluated row by row. A computed table creates a whole new table from an expression, usually by summarising, filtering, or unioning existing tables. If all you need is a new field on an existing table, use a calculated column or Power Query instead; a computed table is the right tool when you need a distinct table shape, such as a bridge table, a date table, or a compact summary you can sort and relate.

What You'll Need

  • Power BI Desktop with a model that already contains at least one table, since computed tables are built from existing tables, columns, or constants.
  • Basic familiarity with DAX function names. You do not need to be an expert, but knowing what SUM, FILTER, SUMMARIZE, and DISTINCT do saves a lot of trial and error.
  • Permission to edit the model. In shared workspaces, editing a semantic model or dataset may require a role that allows model changes.
  • A published workspace if you want the table to reach report consumers, because computed tables are part of the model and travel with it when you publish.

Step-by-Step

  1. Open your report in Power BI Desktop and go to the Data view, or stay in Report view; the Modeling tab is available either way. Menu labels can differ slightly by version, so look for the Modeling ribbon group rather than an exact wording.
  2. In the Data pane on the right, click any existing table so the Modeling commands are active. Some ribbon buttons are greyed out until a table is selected.
  3. On the Modeling ribbon, click New table. A formula bar appears with a placeholder name. In newer versions this button may sit in the Calculations group; if you cannot find it, right-click a table in the Data pane and look for a new table option, or use the formula bar directly.
  4. Type a table name, an equals sign, and your DAX expression. Names cannot duplicate an existing table name and cannot contain certain characters, so keep them simple, for example Region Summary = SUMMARIZE(Sales, Sales[Region], "Revenue", SUM(Sales[Amount])).
  5. Press Enter or click the checkmark to commit the formula. The new table appears in the Data pane with a calculator-style icon indicating it is computed rather than imported.
  6. Check the result immediately. Look at the Data view for the new table and confirm the row count and column values are what you expect. A summarised table with far more rows than you anticipated usually means a column with high cardinality slipped into the grouping.
  7. Set data types and formatting. Computed tables inherit types from the expression in many cases, but you should still select each column and confirm the type and the format string, especially for currency and dates.
  8. If the table must filter or slice other tables, create a relationship. Go to Model view, drag a field from the computed table onto the matching field in the other table, and check the cardinality and cross-filter direction. A one-to-many relationship from a summary table to a detail table is usually wrong; think through which side is the "one" side.
  9. Mark the table as a date table only if it genuinely is one, meaning it has a contiguous list of dates with no gaps, one row per date, and a date-typed column. Otherwise leave the marking alone.
  10. Hide columns you do not want report authors to see, then save the file. Hidden columns remain usable in DAX but disappear from the field list, which keeps the model tidy.
  11. Publish the report to the workspace so the updated model, including the computed table, reaches consumers. Refreshing the published model recalculates the table's expression against the latest source data.
  12. Open the published report and confirm the visuals that use the computed table still render. If a visual shows an error after publishing, the cause is almost always a missing column or a broken relationship in the published copy of the model.

Common Mistakes

Using a computed table where Power Query belongs. If the transformation depends on source data shape, joins to external tables, or cleanup that would be better done before load, do it in Power Query. Computed tables add to model size and recalculate on every model processing, so they are best for model-level logic such as bridge tables, calculated summaries, and filtered subsets.

Forgetting that DISTINCT and SUMMARIZE change the grain. A summary table built with DISTINCT returns one row per unique combination of the columns you list. Add a timestamp column and you may get one row per second, which is rarely what you want. Always confirm the row count.

Assuming the table refreshes itself instantly. Computed tables recalculate when the model processes, not when a slicer moves. In Import mode that means on refresh; in DirectQuery, a computed table is not supported in the same way and the expression must come from the source or be replaced by a measure. Check the storage mode before planning around a computed table.

Circular references. A computed table that references itself, directly or through a chain of other computed tables, throws an error. Restructure so the dependency runs one way.

Bad relationships after creation. Many-to-many relationships are allowed in modern Power BI, but they are easy to misconfigure. If totals double or go blank, check the relationship's cardinality and whether the join keys are unique on the "one" side.

Tips

Keep computed tables narrow. Every column you add costs memory, and a wide summary table is often slower than a slim one plus a measure. Name tables and columns as a report author would say them out loud, because these names surface in the field list and in visual titles.

Use CALCULATETABLE and FILTER to build filtered subsets, for example a table containing only orders from the current year. Use UNION to stack tables with matching column structures, which is handy for combining historical and current extracts that share a schema.

Document the intent in a comment in the formula bar or in the table description field. Computed tables are invisible in the source system, so the next person editing the model has only the DAX to go on.

Test with a small expression first, confirm it works, then add complexity. Rewriting a twenty-line DAX expression after an error is far slower than building it in pieces.

Troubleshooting

If the New table button is greyed out, confirm the model is not in a read-only state and that you have edit rights, then select a table in the Data pane first. If the formula bar rejects your expression, check that every column reference is written as Table[Column] and that any string literal uses double quotes. Single quotes around column names produce errors.

If the table is created but empty, inspect the filters in your expression. A filter that targets a value not present in the data returns no rows, and that often looks like a bug when it is a data question. If the table shows blank totals after relating it, verify the related column data types match on both sides; a text key joined to a numeric key fails silently. If a visual errors only after publishing, open the published model and check whether the computed table's dependencies were removed or renamed during the last deployment.

If you need to start over, delete the computed table and recreate it. Deleting removes the table and any relationships that used it, so note those first; nothing in the underlying source data is touched, which makes this one of the safer model edits to undo.

Frequently Asked Questions

Does a computed table increase file size?

Yes. The table's contents are stored in the model, so a large summary adds to the file and to memory use. Keep computed tables as small as the requirement allows.

Can I use a computed table in DirectQuery mode?

Generally no. Computed tables depend on in-memory model storage, which DirectQuery models do not provide in the same way. Use a source-side view or a measure instead.

Do computed tables update when the source changes?

They recalculate when the model processes, so an Import-mode model updates them on refresh. Without a refresh, the table keeps its last computed values.

Can I edit the rows of a computed table by hand?

No. The rows come from the DAX expression. To change values, change the expression or the data it reads, or create a separate entered-data table for manual input.

Is a computed table the same as a calculated column?

No. A calculated column adds a field to an existing table; a computed table creates a new table. They use the same language but serve different purposes.