Before you begin
- Sign in and open the target AI workspace.
- Have an organization data source available, or have the connection details needed to create one.
1. Prepare a data source
- Open Data Intelligence โ Data Sources from the workspace sidebar.
- If the Available to the organization list already contains the connection, click Bind. Otherwise click New, choose a supported connection type, and fill in the fields.
- Click Test connection before saving. If it fails, check the host, port, credentials, and network policy.
- Confirm that the data source appears under Authorized. Only authorized data sources can be used by semantic models.
2. Create a semantic model
- Open Data Intelligence โ Semantic Models and click Create.
- Choose
SQLfor a relational database orXMLAfor a remote multidimensional service. - Select a data source. The catalog selector loads databases, schemas, and catalogs from the source; an XMLA service also returns available cubes.
- Enter the required model name. Add an identifier, description, catalog, or cube when needed, then create the model.
- Open the new model. It starts as a
Draftwith published version 0.
3. Configure the minimum model
For a relational model, use this order:- Data source browser: refresh the structure, search and expand schemas, tables, and columns, then confirm that preview data loads.
- Cube: add or select a cube, choose its fact table, and add at least one measure with a source column and aggregation such as
sum. - Dimensions: add dimensions, hierarchies, and levels, then fill in the dimension table, primary key, foreign key, and level columns.
- Calculations: add a calculated member when you need a derived value.
- Wait until the workspace shows that the draft is synchronized before publishing.
4. Validate and publish
- Open Model quality and click Validate.
- Fix every
Error. Common blocking issues include a missing data source, cube, fact table, measure, level source column, or calculated-member expression. - In Run and cache, run a query probe to confirm that the connection and structure are available.
- Click Publish, add release notes, and select a business domain if requested. The model status changes to
Publishedand a new published version is created.
5. Run your first query
- Open Data Intelligence โ Query Analysis.
- Select the published model and query language: SQL for SQL models or MDX for XMLA models.
- Click Template, replace the table, column, or cube names with names from the current model, and click Run. You can also press Ctrl/โ+Enter in the editor.
- The result area shows row count, data source identifier, and table results. Recent runs keeps the latest ten successful or failed runs for the current session.
6. Acceptance checklist
- The data source is authorized and its connection test succeeds.
- The model is
Publishedand its published version is greater than 0. - Model quality has no blocking errors and the query probe succeeds.
- The query result contains the expected columns and rows.
Next steps
- Relational modeling: SQL semantic models
- XMLA/SAP BW: XMLA multidimensional models
- Governed metrics: Metric management
- Workspace assistant: Semantic model assistant