Skip to content

Dataset

Power BI semantic model and report datasets for AI training

A Power BI dataset is an export of a business's Power BI content: semantic models with their tables, relationships and DAX measures, the Power Query scripts that load and clean each table, and the reports, dashboards and dataflows built on them, with imported data where it is licensed too. SourceX sources it to a buyer's spec from established businesses that run Power BI for their reporting, as readable project files where possible. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Semantic model and report definitions from chosen workspaces, with DAX, Power Query M and, where licensed, the imported tables
Typical systems
Power BI Desktop files and the Power BI service; dataflows, paginated reports and Power BI Report Server where in scope
Typical history
Specified by the buyer; current definitions and the last data refresh, plus earlier versions where project files were kept in source control
Modality
DAX and M code with model and report metadata as text; imported tables as structured data
Delivery formats
Agreed per order; Power BI Project folders with TMDL or model.bim and report JSON, Parquet or CSV for imported tables
Preparation
Imported tables de-identified; server names, file paths, gateway details, credentials and keys removed from M and metadata
Licensing
Rights reviewed per workspace; permitted use set in the license; Microsoft's terms and third-party data in the models checked by the buyer and the data owner
Availability
Sourced to your spec from businesses that agree; supply is not guaranteed
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
model_keystringPseudonymous key for the semantic model, the object the Power BI REST API still calls a dataset.
workspace_keystringPseudonymous key for the workspace the model was published to.
source_formatobjectWhether the model arrived as .pbix, .pbit, a Power BI Project or an XMLA extract, and whether data is included.
storage_modesobjectEach table's storage mode, such as import or DirectQuery, which decides whether rows exist to deliver.
tablesarrayModel tables with their columns, data types, hidden flags and the DAX of any calculated columns.
relationshipsarrayThe model's relationships with from and to columns, cardinality, cross-filter direction and active flag.
measuresarrayMeasures with home table, DAX expression, format string, display folder and description.
power_queryarrayThe Power Query M expression behind each table's partition, split into its named steps.
rls_rolesarrayRow-level security roles defined in the model with the DAX filter each applies to a table.
refreshobjectThe time of the last refresh the data reflects and any incremental refresh policy on its tables.
reportsarrayReports bound to the model, with their pages and each visual's type and the fields placed on it.
measure_resultsarrayValues the engine returned for chosen measures under stated filters, recorded before delivery.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "model_key": "sm_7c21",
  "workspace_key": "ws_finance_reporting",
  "source_format": {
    "received_as": "pbix",
    "delivered_as": "pbip with TMDL",
    "data_included": true
  },
  "storage_modes": {
    "Sales": "import",
    "Budget": "directQuery"
  },
  "tables": [
    {
      "name": "Sales",
      "rows_delivered": 2104551,
      "columns": [
        {
          "name": "OrderDateKey",
          "data_type": "int64",
          "hidden": true
        },
        {
          "name": "NetAmount",
          "data_type": "decimal"
        }
      ],
      "calculated_columns": [
        {
          "name": "IsLate",
          "expression": "Sales[ShipDate] > Sales[DueDate]"
        }
      ]
    }
  ],
  "relationships": [
    {
      "from": "Sales[OrderDateKey]",
      "to": "Calendar[DateKey]",
      "cardinality": "manyToOne",
      "cross_filter": "single",
      "active": true
    },
    {
      "from": "Sales[ShipDateKey]",
      "to": "Calendar[DateKey]",
      "active": false
    }
  ],
  "measures": [
    {
      "table": "Sales",
      "name": "Net Sales",
      "expression": "SUM ( Sales[NetAmount] )",
      "format_string": "#,0",
      "display_folder": "Revenue",
      "description": "After returns"
    },
    {
      "table": "Sales",
      "name": "Shipped Sales",
      "expression": "CALCULATE ( [Net Sales], USERELATIONSHIP ( Sales[ShipDateKey], Calendar[DateKey] ) )"
    }
  ],
  "power_query": [
    {
      "table": "Sales",
      "steps": [
        {
          "name": "Source",
          "expression": "Sql.Database(\"[SERVER]\", \"[DATABASE]\")"
        },
        {
          "name": "Filtered Rows",
          "expression": "Table.SelectRows(Source, each [IsTest] = false)"
        },
        {
          "name": "Changed Type",
          "expression": "Table.TransformColumnTypes(#\"Filtered Rows\", {{\"NetAmount\", Currency.Type}})"
        }
      ]
    }
  ],
  "rls_roles": [
    {
      "name": "Region managers",
      "table": "Territory",
      "filter": "Territory[ManagerLogin] = USERPRINCIPALNAME ()"
    }
  ],
  "refresh": {
    "last_refresh": "2025-06-30T05:12:00Z",
    "incremental_policy": null
  },
  "reports": [
    {
      "report_key": "rp_19a0",
      "pages": [
        {
          "name": "Monthly margin",
          "visuals": [
            {
              "type": "clusteredColumnChart",
              "axis": "Calendar[Month]",
              "values": [
                "Net Sales",
                "Shipped Sales"
              ]
            }
          ]
        }
      ]
    }
  ],
  "measure_results": [
    {
      "measure": "Net Sales",
      "filter": "Calendar[Year] = 2024",
      "value": 18422310.55
    }
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train models to write DAX

Measures delivered with the tables and relationships they depend on teach filter context, which snippets cannot.

Train data-preparation agents

Power Query scripts are ordered, named cleaning steps from raw source to model table that an agent can imitate.

Ground natural-language analytics

Named measures and stated joins are the layer a question-answering agent should query instead of raw tables.

Learn report design from field bindings

Report definitions record which visual type was chosen for which measures and columns.

Build gradable DAX evaluations

Reference values for measures under stated filters make test items with exact answers.

Use-case guides: Coding agents, Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets

What makes this data valuable

Text project format

Power BI Project files can be parsed and diffed without the Power BI engine.

Data travels with the model

Imported tables delivered beside the definitions let measures be run, not only read.

Described measures

Descriptions, display folders and consistent names show a model maintained for other people.

Edited query steps

Renamed steps and commented M show a transformation written with care, not left as generated.

Version history

Project files in source control show how measures and relationships changed.

Recorded reference values

Measure results captured before delivery give you ground truth to test against.

Retrieval

Power BI dataset

This page covers power BI semantic models and reports.Illustrative

A model that states its joins, metrics and cleaning steps

A Power BI semantic model does not leave its joins to be inferred. Each relationship names the two columns it connects, its cardinality, the direction in which filters cross it and whether it is active, and a fact table can hold a second, inactive relationship to the same date table that a measure switches on with USERELATIONSHIP. Microsoft long called the semantic model a dataset, and its REST API still does, so say which objects you mean when you ask for one.

The business's metrics are held as DAX measures, named expressions such as a margin percentage or sales for the same period last year, each of which can carry a format string and a display folder. A measure is a definition and not a stored number. It is evaluated at query time in whatever filter context a visual supplies, so one measure returns a different value in every cell of a matrix, and its meaning depends on the relationships beneath it. Calculated columns differ, being computed at refresh and stored with the table. Measures without their tables and relationships cannot be run or checked.

Each table loaded through Power Query also carries its script. Written in the M language, it is a let expression whose named steps, such as Source, Promoted Headers, Changed Type, Filtered Rows and Merged Queries, record in order how a raw extract became the model's table. That is a worked transformation and not only its result. What Power BI does not keep is the past. A full import refresh replaces the stored rows and publishing again replaces the report, so ask whether the team kept old files or stored project files in source control, which is where earlier versions come from.

What a .pbix hides and the project format shows

The file most businesses can hand over is the .pbix, and it is the least readable. It is a compressed package whose report layout is JSON, but its DataModel part, which holds the tables, measures and imported rows, is a compressed binary store that general-purpose tools cannot read. Opening it takes Power BI Desktop or a tool that talks to the Analysis Services engine Desktop runs. The service also refuses to download some models as .pbix. Microsoft's list of those cases has included models set up for incremental refresh and Direct Lake models, and it changes. An administrator can also switch downloads off, so ask which models could not be downloaded and why.

The readable form is the Power BI Project. Saving as .pbip writes one folder for the semantic model and one for the report as text: the model as TMDL files or a model.bim JSON file listing every table, column, measure, relationship, role and M expression, and the report as JSON describing its pages and visuals. Those files parse like source code. They hold no rows, because a project keeps data in a local cache file that is left out of version control by default, so definitions and data are two deliverables. A .pbit template sits between, with the model schema as JSON and no data. Dashboards exist only in the service and paginated reports are .rdl XML. A first-generation dataflow exports as a JSON file, so ask whether its Power Query came with it and how any Fabric dataflows were exported.

Test a sample three ways. Open a delivered model and confirm that chosen measures return the reference values the supplier recorded, since a measure that errors often means a column it reads was removed or renamed in de-identification. Search every M expression for server names, file paths, gateway names and keys pasted into web calls. Then compare the file with what viewers could see. Row-level security roles filter queries, not the file, so a .pbix holds every imported row, hidden columns included.

What to check before licensing

  • Ask which form each model arrives in, .pbix, .pbit, Power BI Project or XMLA extract, and how models the service would not download were obtained.
  • Check what each file contains against what report viewers could see, because row-level security and hidden columns remove nothing from an imported model.
  • Review imported tables for personal and financial data, and ask whether de-identification was done before the model was rebuilt or on exported tables only.
  • Search M expressions, parameters and connection metadata for server names, file paths, gateway details, credentials and keys, and confirm they are removed.
  • Have the buyer and the data owner check Microsoft's terms for Power BI as they apply to exported content and API use.
  • Ask whether any tables came from a third-party data provider and whether consultants or a vendor template wrote the measures and reports.
  • Open a sample model, run a set of measures against the delivered data and compare the results with the supplier's reference values.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does a Power BI dataset include the underlying data or only the definitions?

Either, and the request should say which. The definitions are the model's tables, relationships, DAX measures and Power Query scripts, plus the reports. Imported data exists only for import-mode tables, reflects the last refresh, and has to be licensed and de-identified as business records. DirectQuery tables hold no rows in Power BI.

Why not just deliver the .pbix files?

Because the model inside a .pbix is a compressed binary, not text. Measures and relationships cannot be parsed from it with general-purpose tools, and the service will not download every model in that form. Power BI Project folders hold the same definitions as text. A .pbix is still useful when you want the imported rows.

What does a Power Query script add over the final table?

It shows how the table was made. The M script lists each step in order, from the source call through renames, type changes, filters and merges, so a model can learn the preparation and not only its output. Scripts also carry source locations and sometimes embedded SQL, so they need scrubbing.

Does row-level security protect the data in a delivered file?

No. Row-level security is a set of roles with DAX filters that the service applies to queries from report viewers. The imported rows are all stored in the model, so anyone who opens the file in Desktop sees everything, including columns hidden from report view. Treat the file's full contents as the scope.

Are dashboards, paginated reports and dataflows included?

They can be, in different forms. Dashboards exist only in the service, so only metadata about their tiles can be delivered. Paginated reports are .rdl files, an XML format with their queries inside. First-generation dataflows export as a JSON file, and you should ask whether the Power Query is in it. State which you need.

Is SourceX affiliated with Microsoft?

Power BI is named to identify the system the records come from. That does not imply a partnership with or endorsement by Microsoft. The records belong to the business that runs Power BI, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies