Choose a BI creation path
Start with the intended result, not a required set of definition files:
| You need | Use |
|---|---|
| Model over known compatible Delta tables | semantic-model create --one-lake-table |
| Deliberately empty model | semantic-model create without source/definition inputs |
| Schema-aware generation from a lakehouse or warehouse | semantic-model generate |
| Import a complete authored model folder | semantic-model create --definition |
| Import one model file | semantic-model create --file — never repeated --file flags |
| Empty report bound to a model | report create --semantic-model |
| Report with pages and visuals | report scaffold, then validate and publish its PBIR folder |
Runtime guidance is available without contacting a tenant:
fabio --wrap-untrusted context best-practices bi-creationfabio --wrap-untrusted context workflow direct-lake-reportfabio --wrap-untrusted context workflow report-authoringNative model creation
Section titled “Native model creation”Preview creation over a real Delta table:
fabio --wrap-untrusted semantic-model create \ --workspace "$WS" --name "Sales" \ --one-lake-table "$ONELAKE_TABLE_URL" --dry-runRepeat --one-lake-table to select up to 100 tables. URLs must use the canonical
HTTPS OneLake DFS endpoint and identify actual Delta tables, not SQL views.
Inspect the source schema and permissions first; valid URL syntax does not prove
compatibility or readiness. Cross-workspace sources require access to every
referenced source item.
This native path needs no local definition files, --connection, or client-side
SQL/TDS schema discovery. Schema-qualified tables on a schema-enabled lakehouse
are live-validated. A schema-less source can fail with DirectLakeSchemaError
when the service assumes dbo.
Generator and authored alternatives
Section titled “Generator and authored alternatives”semantic-model generate --storage-mode onelake remains useful for schema-aware
definition generation, including schema-less lakehouses. Both generator storage
modes read SQL metadata over TDS and need SQL-audience credentials; see
authentication. Direct OneLake binding and SQL-endpoint
binding have different security/fallback semantics. Choose explicitly rather than
silently switching after a native-creation failure.
For an existing authored model, preserve its actual expressions and partitions:
fabio --wrap-untrusted semantic-model create \ --workspace "$WS" --name "Sales" \ --definition ./Sales.SemanticModel --dry-runThe folder must contain definition.pbism and the model body. --file accepts
one file only. Do not universally add --connection: a complete folder already
carries its source expressions, and empty/native creation rejects that option.
Creation is not query readiness
Section titled “Creation is not query readiness”Successful creation means the artifact exists. Before designing visuals:
- Inspect model tables, columns, measures, and relationships.
- Request framing when needed, after reviewing capacity consumption.
semantic-model refreshreturnsrefresh_triggered, not completion. Pollrefresh-statusfor the new refresh with a bounded interval/deadline. Stop on failure; do not keep submitting refreshes or mistake an earlier completed refresh for the new request.- Verify a bounded DAX read against the actual selected table.
Direct Lake avoids importing a copy of the source data; it does not eliminate framing/readiness checks. Do not use ownership takeover, data purge, new access grants, or a changed source binding as automatic recovery steps.
Report shell versus authored report
Section titled “Report shell versus authored report”For an empty bound report, preview:
fabio --wrap-untrusted report create \ --workspace "$WS" --name "Sales report" \ --semantic-model "$MODEL_ID" --dry-runAdd --semantic-model-workspace when the model resides in another workspace.
This creates no dashboard visuals. Inspect the persisted definition.pbir to
verify the binding and the stored report format before using format-specific
editors.
For actual pages and visuals, use the report-authoring workflow: scaffold a PBIR
folder using real model fields, validate it offline, then create from the folder.
Use --dataset to rebind an authored folder; native --semantic-model is not an
alias for --dataset in scaffold or definition import. The existing
report create --dataset blank-PBIR-Legacy path remains supported, but is not a
finished report or the preferred starting point for enhanced-PBIR-only editing.
