Skip to main content

In Power BI, you can create a custom table or a calculated table from the existing table. In this article, we show you how to create calculated tables in Power BI with an example.

To demonstrate these Power BI calculated tables, we will use the SQL data source that we created in the Connect Power BI to SQL Server article. So, check the same.

create-calculated-tables-in-power-bi-1-4277830

How to create calculated tables in Power BI

To add the calculated table, click the New table option under the Modeling tongue.

create-calculated-tables-in-power-bi-2-8707457

It will open the Power BI DAX formula bar to enter the DAX expression, as shown in the screenshot below.

create-calculated-tables-in-power-bi-3-6977594

Let me rename the default table as Countries

create-calculated-tables-in-power-bi-4-8682948

For this demo purpose of Calculated Tables, we are selecting Countries from the DimGeography table. As you can see in the screenshot below, while typing, Power BI IntelliSense displays the suggestions.

create-calculated-tables-in-power-bi-5-6343292

In the screenshot below, you can see that we are selecting the DIFFERENT (non-duplicate or unique) country names from the Countries column.

create-calculated-tables-in-power-bi-6-2286486

Clicking Enter or any key for that matter will create a new table called Countries with different country names.

create-calculated-tables-in-power-bi-7-1365006

Let me create a map using that calculated table we created earlier.

create-calculated-tables-in-power-bi-8-1750209
R Marketing Digital