AnalyticsCreator Docs Preview

Build a first warehouse flow

On this page
  1. Before you start
  2. Procedure
    1. 1. Register Northwind Customers
    2. 2. Create and review the warehouse definitions
    3. 3. Generate, run and verify
  3. Expected outcome
    1. Northwind checkpoint

Load Northwind Customers into an isolated DWH and create a SQL view that exposes CustomerID and CompanyName. Keep a note of your source count, target count and generated artifact paths as you work.

Before you start

Use a permitted copy of Demo_Northwind AI or a new training repository with access to a Microsoft Northwind database. Obtain the source credentials, a writable development DWH target and the runtime that will execute the generated load. Check the environment requirements and connector compatibility. Confirm the actual names in your copy before creating objects. Names such as Customers_Stage and Customers_Projection below are examples for new objects.

Start with a repository where the target schema exists and the trial names are free. File → New can create a repository database. Use File → Connect for an existing repository, and confirm the server and repository name before continuing.

Procedure

1. Register Northwind Customers

  1. Select Sources → Add connector. For a SQL Server source, choose the appropriate SQL Server connector type for your execution environment. Give the Connector a name such as Northwind and enter the connection settings for your copy.
  2. Select Test connection, then save. In the Explorer, open the context menu of the connector and select Create new source to open the source wizard with that Connector.
  3. Choose Table, narrow the results to Customers with Filter table and select Apply. Select the intended object and finish.

Checkpoint: The Source shows CustomerID and CompanyName. Verify the key and column types in the source metadata before creating mappings.

2. Create and review the warehouse definitions

  1. Open the context menu on the Customers source in the Flow diagram and choose Import. In the import wizard, use a development schema and a target such as Customers_Stage. Select or name an Import package for this load.
  2. Open the Import editor. Check Source, Destination and the column mappings. Keep optional filters and scripts empty for this exercise. Save the Import.
  3. Open New transformation. Create a Regular Transformation such as Customers_Projection with Customers_Stage as input. Select CustomerID and CompanyName. Do not add a join or filter for the first run.

Checkpoint: Locate the source, import and target in the Flow diagram, then check the saved transformation definition. Metadata can exist before any rows have been loaded.

3. Generate, run and verify

  1. Open Deployment → Deployment package. Create or choose a Deployment for your test target. Give it a dedicated output folder and select the required database output and the Customers Import package.
  2. Follow Generate and deploy artifacts for your selected runtime. Review the generated target schema, table and view definition and the package destination before applying them.
  3. Apply the required warehouse artifacts, then run the generated import against the isolated target. Verify the outcome through the configured runtime and load logs.

Checkpoint: Query the warehouse target and the transformation view. Check counts first, then compare CustomerID keys and inspect the mapped names. Use the actual qualified object names from your target.

SELECT COUNT(*) AS RowCount
FROM [YourSchema].[Customers_Stage];

SELECT CustomerID, COUNT(*) AS Occurrences
FROM [YourSchema].[Customers_Stage]
GROUP BY CustomerID
HAVING COUNT(*) > 1;

Expected outcome

The warehouse table contains the selected source rows and the view exposes the two projected columns. Diagnose missing rows using generation and loading troubleshooting and check which artifacts were applied and which packages ran. This walkthrough supplies verification checkpoints for your run. It has not been executed against your sample copy.

Northwind checkpoint

With an unfiltered load and one row per CustomerID, the source and target key sets should agree. With no filter or join in the view, it should return the same key set as the imported table. Use the observed source count from your copy rather than a fixed count.

Continue with DWH Wizard when you need to create related objects together.

Search documentation