Skip to main content

datacontract import powerbi

Import a data contract from a Power BI semantic model (.pbit, .bim, or .json) file.

datacontract import powerbi [OPTIONS]
OptionDefaultDescription
--sourcePath to a Power BI .pbit, .bim, or .json semantic model file.
--outputFile path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--json-schemaThe location (url or path) of the ODCS JSON Schema
--ownerThe owner or team responsible for managing the data contract.
--idThe identifier for the data contract.
--debug / --no-debugEnable debug logging
datacontract import powerbi --source SemanticModel.pbit --output datacontract.yaml

Guide: Import: Power BI.