Create a Cube Using the Cube Wizard
Applies To: SQL Server 2016
You can create a new cube by using the Cube Wizard in SQL Server Data Tools (SSDT).
In Solution Explorer, right-click Cubes, and then click New Cube.
On the Select Creation Method page of the Cube Wizard, select Use existing tables, and then click Next.
You might occasionally have to create a cube without using existing tables. To create an empty cube, select Create an empty cube. To generate tables, select Generate tables in the data source.
On the Select Measure Group Tables page, do the following procedures:
In the Data source view list, select a data source view.
In the Measure group tables list, select the tables that will be used to create measure groups.
On the Select Measures page, select the measures that you want to include in the cube, and then click Next.
Optionally, you can change the names of the measures and measure groups.
On the Select Existing Dimensions page, select the existing dimensions to include in the cube, and then click Next.
The Select Existing Dimensions page appears if dimensions already exist in the database for any of the selected measure groups.
On the Select New Dimensions page, select the new dimensions to create, and then click Next.
The Select New Dimensions page appears if any tables would be good candidates for dimension tables, and the tables have not already been used by existing dimensions.
On the Select Missing Dimension Keys page, select a key for the dimension, and then click Next.
The Select Missing Dimension Keys page appears if any of the dimension tables that you specified do not have a key defined.
On the Completing the Wizard page, enter a name for the new cube and review the cube structure. If you want to make changes, click Back; otherwise, click Finish.
You can use Cube Designer after you complete the Cube Wizard to configure the cube. You can also use Dimension Designer to add, remove, and configure attributes and hierarchies in the dimensions that you created.