KCM guide cover showing SQL Server table data moving into a distinct Fabric reporting layer before an operations report.
MICROSOFT FABRIC / SQL SERVER REPORTING

SQL Server to Fabric: Build the Reporting Layer

Turn mirrored tables into a dependable operations report.

Mirroring SQL Server tables into Fabric brings the source rows across. It does not carry every rule behind an established operations report. Follow one order-line backlog through split shipments, a Warehouse reporting build and a Power BI Import refresh to see what must be preserved before the new report is accepted.

Read the full article ↓

Turn mirrored tables into a dependable operations report.

An existing SQL Server report already tells the operations team which order lines remain unfulfilled. The team wants to move its analytical workload into Microsoft Fabric and reuse the data across reports. The migration needs to preserve the report's approved definition, including what happens when one order line has several shipments.

Start by separating the work of bringing tables into Fabric from the work of turning them into that business answer. Both belong in the design.

Choose a complete reporting path

For a team that maintains its reporting logic in SQL, consider this bounded route:

SQL Server 2022 → Fabric mirrored database in OneLake → Fabric Warehouse transformations → Power BI Import semantic model → operations report.

The source is SQL Server 2022 Standard on Windows, running on premises as a standalone instance. Change Data Capture, or CDC, identifies source changes; an on-premises data gateway provides the connection. Microsoft supports this SQL Server configuration, and SQL Server mirroring reached general availability in November 2025. Supported environments, GA announcement.

Keep the mirror and Warehouse in the same Fabric workspace. Microsoft documents T-SQL ingestion and transformation from mirrored tables into a Warehouse, using references such as OperationsMirror.dbo.OrderLine. The Warehouse holds the prepared reporting result. Warehouse ingestion guidance.

The mirror's read-only SQL analytics endpoint can also host views and other query logic. A Warehouse is useful here because the team wants to store and validate a reporting build before the model reads it; it is not required for every mirrored-data report. Explore mirrored data.

A Power BI semantic model supplies the report's measures and relationships. This route uses Import mode to serve a completed reporting build; Microsoft supports Import models from Warehouse data. Its refresh adds another step to the reporting delay. Create a semantic model.

The operational application continues to own orders, cancellations and shipments. This moves an agreed analytical workload into Fabric while preserving the business process that records it.

Establish what mirroring carries

Mirroring maintains an analytical copy of source table data. The SQL Server FAQ currently describes regular tables as supported and excludes replicated views. Inventory the logic in existing views, stored procedures, SQL Server Integration Services packages and Power BI models separately; do not treat a working mirror as evidence that those components migrated. SQL Server mirroring FAQ.

That inventory may reveal that an existing reporting table already contains the correct result. Reuse approved work when it meets the target need. If the team mirrors operational detail instead, it must rebuild the transformations that made the old report meaningful.

Mirroring and a pipeline can serve different responsibilities in the same solution. Mirroring supplies supported table changes. A pipeline can coordinate the Warehouse build, validation and model refresh, and handle other required inputs.

A split shipment can inflate the answer

Consider an established order-line backlog report. All quantities use the same unit. Its rule is:

Open units = ordered units − cancelled units − posted shipped units.

Order line Ordered Cancelled Posted shipments Correct open units
101 10 0 4 and 3 3
102 5 0 5 0
103 8 2 None 6
Total 23 2 12 shipped 9

A direct join from order lines to shipment detail produces two rows for line 101. Summing ordered quantity after that join counts its 10 units twice. The joined table shows 33 ordered units, 2 cancelled and 12 shipped, producing an incorrect backlog of 19.

Both source tables can look plausible in isolation. The defect is the relationship between rows.

The repair is to define the reporting grain, meaning what one row represents. Here it is one order line. First sum posted shipment quantities by order-line ID. Then left join that result to the order lines so line 103 survives even though it has no shipment. Calculate open quantity once per line.

The result has three rows, 23 ordered units and 9 open units. Keep the fully shipped line with zero open units for reconciliation; count only positive open quantities when the report asks for open lines. A blanket duplicate-removal step cannot substitute for this rule because both shipments for line 101 are valid.

Test meaning and arrival separately

Use the small example to prove the calculation against stable input. Check each line, not only the grand total. Then test a cancellation correction, a voided shipment, an unshipped line and a duplicate shipment identifier. Decide which conditions should change the number and which should stop the build.

Next, test the live arrival path. A source change must pass through replication, the Warehouse transformation and the Import refresh before the report reflects it. Microsoft's replication monitor reports table status and completion information; its cumulative rows-replicated counter is not the current business row count. Monitor replication.

A green monitor and a recent build timestamp do not establish a transaction-consistent snapshot across source tables. This design serves an operational observation whose acceptable delay and temporary mismatch must be agreed with the report owner. If the existing report requires a strict common cutoff, preserve or implement a controlled source snapshot process and test that boundary. Mirroring alone is insufficient evidence for that promise.

Prove the fit before expanding the scope

For this SQL Server 2022 path, confirm primary keys, supported column types, CDC and a running SQL Server Agent, gateway connectivity, active Fabric capacity and the documented tenant settings. Azure Arc is not required for pre-2025 SQL Server mirroring. SQL Server 2025, Azure SQL Database and Azure SQL Managed Instance have different setup rules. Configuration tutorial.

Review columns used in calculations before connecting the report. Computed columns are not mirrored, and SQL Server 2016–2022 schema changes can require CDC reinitialization and a new table snapshot. SQL Server limitations.

Approve the workload when the target reproduces the existing definition, the business accepts its observed freshness behaviour, and someone owns failures across the full route. Keep the current reporting process available until that evidence is in hand.

Bring one report, its current SQL logic and its source tables to a focused review with KCM's Microsoft Fabric team.

Microsoft product information checked October 28, 2026. The worked example and recommended acceptance approach are KCM's analysis. Validate the design in the intended environment.