A calculated table in Power BI is a table you create with a DAX formula instead of loading it from a data source. You write the formula in the Modeling tab, and Power BI evaluates it at refresh time to produce a new table that lives in your model. This is useful for building date tables, summary tables, or static lookup tables without leaving Power BI Desktop.

What You'll Need

  • Power BI Desktop installed (the steps below refer to the ribbon; labels can differ slightly by version, device or region).
  • An existing data model with at least one table loaded, or a blank model where you can create a table from scratch.
  • Basic familiarity with DAX functions such as CALENDAR, ADDCOLUMNS, SUMMARIZE, and DISTINCT.
  • Permission to edit the model (you are not in a read-only view).

Step-by-Step

  1. Open your report in Power BI Desktop. Make sure you are on a report page where the Modeling ribbon is visible. If you are in Power BI Service, calculated tables cannot be created there; you must use Desktop and then publish.
  2. Go to the Modeling tab. On the ribbon, click Modeling. In the Calculations group, click New Table. A formula bar appears where you can type your DAX expression.
  3. Write the DAX formula. Start with a table constructor or a function that returns a table. For example, to create a simple date table: DateTable = CALENDAR(DATE(2024,1,1), DATE(2024,12,31)) This creates a single-column table with one row per day. To add columns, wrap it in ADDCOLUMNS : DateTable = ADDCOLUMNS( CALENDAR(DATE(2024,1,1), DATE(2024,12,31)), ) Press Enter to confirm. The new table appears in the Fields pane with a calculator icon next to its name.
  4. Check the result. Switch to Data view (the table icon on the left) and select your new table to see the rows and columns. If the formula is valid, you will see data; if not, an error message appears in the formula bar.
  5. Format and rename columns if needed. In Data view, you can rename columns by double-clicking the header. You can also set data types and formatting from the Modeling tab while the table is selected.
  6. Create relationships. If your calculated table should relate to existing tables (for example, a date table linked to a sales table), go to Model view and drag a field from one table to the matching field in the other. Calculated tables behave like regular tables for relationships.
  7. Use the table in visuals. Drag fields from your calculated table onto report visuals just as you would with any other table. The table refreshes whenever the model refreshes.

Common Mistakes

  • Forgetting that calculated tables are not refreshable from a source. They are computed from DAX and other tables in the model. If the underlying data changes, the calculated table updates only when the model refreshes.
  • Using a calculated table where a measure would do. Calculated tables store rows and consume memory. For aggregations that change with slicers, use measures instead.
  • Circular dependencies. A calculated table cannot reference itself or create a loop with other calculated tables. Power BI will show an error.
  • Assuming the table appears in Power Query. Calculated tables are DAX objects; they do not appear in the Power Query Editor. Edit them only through the formula bar in Modeling > New Table (or by selecting the table and editing the formula).
  • Not marking a date table. If you create a date table, use Mark as date table in the Table tools to enable time intelligence functions.

Tips

  • Use DISTINCT or SUMMARIZE to build lookup tables from existing columns, e.g. .
  • Keep calculated tables small. Large calculated tables slow down refresh and increase file size.
  • Name tables clearly and avoid spaces if you plan to write DAX against them.
  • Use VAR inside the formula to break complex logic into readable steps.
  • Test formulas in DAX Studio or the formula bar before committing to a large table.

Troubleshooting

If the new table does not appear or shows an error, check the formula for syntax mistakes such as missing commas or parentheses. The formula bar underlines the problem area. If the table is created but empty, verify that the functions you used return rows (for example, CALENDAR needs valid start and end dates). If you see a circular dependency error, review other calculated tables or calculated columns that reference this table. If the table is slow to refresh, reduce its size or move the logic to Power Query where possible. If you cannot find the New Table button, ensure you are in Power BI Desktop, not the Service, and that no other dialog is open.

Frequently Asked Questions

Can I create a calculated table in Power BI Service?

No. Calculated tables are created in Power BI Desktop. You can view and use them in the Service after publishing, but editing requires Desktop.

Do calculated tables refresh automatically?

They recalculate when the dataset refreshes. They do not update in real time with each visual interaction.

Can I use a calculated table as a date table?

Yes. Create it with CALENDAR or CALENDARAUTO, then mark it as a date table in the Table tools.

What is the difference between a calculated table and a measure?

A calculated table returns a table of rows and is stored in the model. A measure returns a single value and is computed at query time based on filter context.

Can I delete a calculated table?

Yes. Right-click the table in the Fields pane and choose Delete. This removes it from the model; you cannot undo without recreating it.

Why does my calculated table show an error about related tables?

If your formula references a column from another table, that table must exist in the model. Check for typos in table or column names.