- Table constructors are expressions that create tables.
- Every time a constructor is evaluated, a new table is created. A constructor can be used to create an empty table or to create a table and initialize some of its fields.
- It is created using curly brackets [ {……}].
- It is created in Data view in Power BI Desktop.
Scenario 1: Table containing single column and multiple rows.
Output:
Scenario 2: Table containing multiple columns and single rows.
Output:
Scenario 3: Table can be created using DAX measures and multiple rows and columns.
There are two measures already created which are Cost and Profit.
Output: