1. Open your Power BI report or data model.
  2. Go to the "Model" view by clicking on the "Model" icon in the left-hand panel.
  3. Select the table in which you want to create the calculated column.
  4. Click on the "New Column" button in the "Model" tab on the ribbon.
  5. Enter the formula for your calculated column using DAX (Data Analysis Expressions) syntax.
  6. Press Enter to create the calculated column.

For example, to create a calculated column that calculates the total sales amount, you can use the following DAX formula:

 

Code
TotalSales = SUM('Sales'[SalesAmount])