MSBA-342 · Lesson 9 of 12 · 21 min
Analytics and Fabric Link
▶ Video coming soon A video version of this lesson is on the way.
Thandeka had a standing complaint about the old system: every month-end, her team exported a dozen spreadsheets, pasted them into a workbook, and spent two days reconciling numbers before anyone could ask a question about them. Ifeoma Ladipo-Ward, the cost accountant, had already built prototype Power BI reports on the CONFIG sandbox's standard analytical workspaces, and she wanted more: warranty claim rates by product family, freight cost per pump shipped, scrap by casting supplier, all refreshed daily and joined with data from the plant quality system. The question for the clinic was how finance and operations data should reach an analytics platform, and what developers needed to do to make it possible.
Analytics was the area of the integration register where Microsoft's guidance had changed most in recent years. This clinic set out the current options, built the developer pieces that the chosen option required, and looked at the embedded Power BI reports inside the application.
A short history of the options
Finance and operations apps have offered several ways to get data out for analytics. The entity store is an operational data warehouse inside the environment that powers the built-in analytical workspaces. Bring your own database, or BYOD, exports data entities to a customer-managed Azure SQL database through the data management framework. Export to Data Lake was an add-in, installed through Lifecycle Services, that continuously copied tables and entities to a customer's Azure Data Lake. And Azure Synapse Link for Dataverse and Link to Microsoft Fabric are the newer options, which bring finance and operations tables and entities into the same pipeline that Dataverse uses for its own data.
Microsoft's transition guidance on Microsoft Learn sets the status plainly. Export to Data Lake was retired on November 1, 2024, and its permanent shutdown is November 30, 2026: after that date it no longer exports new or changed data, and Microsoft states that it will not grant extensions. BYOD has no retirement date, but Microsoft recommends moving to Synapse Link or Fabric link. Synapse Link itself is not being retired. For customers who use Power BI or Fabric, Microsoft recommends Link to Microsoft Fabric. For customers who want to keep exporting to their own storage, it recommends Azure Synapse Link with Delta Parquet output. Cobalt Ridge was a new implementation and had never used Export to Data Lake, so the shutdown at the end of November affected it only as a reminder to Ifeoma not to follow any blog post that recommended it.
How Fabric link works
Link to Microsoft Fabric, often shortened to Fabric link, is a zero-copy, no-ETL integration between Dataverse and Microsoft Fabric. Once a Dataverse environment is linked to a Fabric workspace, the tables that are selected and have change tracking enabled are kept in Dataverse-managed storage in Delta format and appear in a Fabric lakehouse through shortcuts, ready for SQL queries, notebooks and Power BI semantic models. Because the finance and operations environment is linked to its Dataverse environment through the Power Platform integration, finance and operations tables and entities can be added to the same link. Microsoft notes that Fabric link can increase Dataverse storage consumption, which belongs in the cost discussion.
Microsoft Learn lists the prerequisites for choosing finance and operations data in Synapse Link and Fabric link. The finance and operations environment must be a sandbox (tier 2) or higher, or an environment provisioned from an ERP-based template, and it must be on a supported version: the documentation lists cumulative updates of 10.0.36, 10.0.37 and 10.0.38 as the first generally available versions, with later updates recommended for fixes. For Synapse Link with storage, the profile must use the Delta lake feature for finance and operations tables to be selectable. For Fabric link, a Fabric workspace is needed and no storage account, Synapse workspace or Spark pool is required.
| Consumption path | Resources needed | Output |
|---|---|---|
| Link to Microsoft Fabric | Fabric workspace | Delta tables in Dataverse-managed storage, shortcut into Fabric |
| Synapse Link with Synapse query | Azure Data Lake, Synapse workspace, Spark pool | Delta Parquet in the customer's lake |
| Synapse Link incremental changes | Azure Data Lake only | Changes as comma-separated files |
Tables and entities
Fabric link and Synapse Link can bring in finance and operations tables and entities, and the two behave differently. Tables come across directly; they are visible in the Synapse Link and Fabric link selection, though Microsoft notes that makers cannot see them in the Tables area of Power Apps. Entities come across through their virtual tables: an entity must first be enabled as a virtual table, as in lesson 7, and then have Track changes turned on, after which it appears among the Dataverse tables in the link, with the mserp prefix.
Each choice has consequences for the analyst. Tables are normalized, so a report of warranties by customer name needs joins to the customer and party tables, and enumerated fields arrive as numbers. Microsoft handles the second problem by exporting a metadata table of choice labels automatically when a table with enumerated fields is selected, so that the numbers can be translated. Derived tables, such as the person table that inherits from the party table, do not include their base table's fields, so the base table must be selected too. Entities, on the other hand, arrive already denormalized and with readable values, but each entity must pass the validation rules for change tracking.
Row version change tracking
Both paths depend on knowing which rows changed. Finance and operations apps provide this through row version change tracking, which Microsoft describes as a prerequisite for several features, including Synapse integration, data archival, mobile offline and relevance search. When it is on, SQL Server stamps each row with a row version value that increases on every insert or update, so a consumer can ask for everything that changed since the last value it saw. Deleted rows are recorded in a separate deletion-tracking table, and a daily cleanup job removes deletion records older than the retention period of ten days.
Developers make three settings. In version 10.0.34 or later, the configuration key named Sql row version change tracking must be on in License configuration, which is changed in maintenance mode. On each custom table that should be tracked, the Allow row version change tracking property is set to Yes, which adds a system field of type rowversion called SysRowVersion when the database is synchronized. And on each data entity that should be tracked, the same property is set to Yes on the entity, which is only valid if every table in the entity has it enabled.
Table CRPumpWarrantyTable
Allow Row Version Change Tracking Yes -> adds SysRowVersion at sync
Table CRWarrantyClaimTable
Allow Row Version Change Tracking Yes
Table CRInspectionCertTable
Allow Row Version Change Tracking Yes
Data entity CRPumpWarrantyFieldEntity (read only, for technicians and analytics)
Allow Row Version Change Tracking Yes
Data sources: CRPumpWarrantyTable (root), CustTable, DirPartyTable, InventTable
Joins: outer, many-to-one, on immutable keys; no exists joins, no range filters
Build result
0 errors, 0 change-tracking warningsThe validation rules for entities are strict, and Prudence's first attempt failed them. Microsoft lists the rules on its row version change tracking page: no custom change tracking query, no range filters, no group by, no nested entities or views as data sources, outer joins only on immutable join columns, many-to-one relations only, no exists or not-exists joins, normal relations rather than fixed ones, and fewer than ten data sources recommended. Prudence's entity had an exists join to the claim table to show only warranties with claims; she removed it and let the analyst filter in Fabric instead. Failures in custom extensions appear as build warnings rather than errors, so Desmond added a check to the pull request template: no change-tracking warnings on entities marked for analytics.
Microsoft also lists high-volume tables on which change tracking should not be enabled, such as inventory transactions, on-hand summaries, master planning transactions and warehouse work lines, and recommends business entities or analytical sources for that data instead. Ifeoma had hoped to bring inventory transactions into Fabric directly; the clinic's answer was to start with the standard analytical entities for inventory and to ask whether daily snapshots would meet her need.
Security and governance of analytics data
Analytics data is still Cobalt Ridge data, and it leaves the protection of the application's role-based security when it lands in Fabric. A user who cannot see CRUS warranties in the application could, in principle, see them in a lakehouse if the workspace gives broad access. Thandeka treated this as the most important design question of the clinic. The plan gave the Fabric workspace two layers. The raw layer, with the linked tables and entities, was open only to Ifeoma and two named analysts. A curated layer of semantic models, built by Ifeoma, applied row-level security by legal entity so that the CRUS sales manager saw only CRUS figures and the CRCA plant team only CRCA. Reports for everyone else were built on the curated layer.
Desmond added a developer's angle. Entities designed for analytics should not carry sensitive fields that analysts do not need: the warranty field entity included customer names, which the service team needed, but not customer bank or tax details, which nobody did. Because Fabric link brings everything in a selected table, choosing entities instead of raw tables is also a way to limit what leaves the application. That was one more reason to build a small, purpose-made entity rather than link the customer table whole.
Working with the analytics team
Prudence asked what a developer's role would be once the link was running. Desmond listed four recurring tasks. New custom tables that analysts might need should have row version change tracking enabled from the start, so that adding them to the link later is a configuration change, not a code release. Entities for analytics need maintenance when the business adds fields. Build warnings about change tracking need attention in every pull request. And when an analyst reports that a table has stopped updating, the developer is often the first person who can check whether a recent deployment changed a table's properties or added a join that broke an entity's validation.
He also asked Ifeoma to keep a short list of which reports depended on which custom tables and entities, stored beside the integration register. When a developer planned a change to one of those sources, the list showed whose report might break. It was the analytics version of the register's owner column, and it cost Ifeoma ten minutes to start.
The Cobalt Ridge analytics design
The design that went into the register was modest. Cobalt Ridge would create a Fabric workspace for finance and operations analytics, owned by Thandeka's team, and link the production Dataverse environment to it after go-live. The first wave of data would be the general ledger and main account tables, standard BI entities for exchange rates, released products and customers, and three custom sources: the warranty field entity, the claim table, and the inspection certificate table. The plant quality system's own data would land in the same workspace through its vendor's export, so that scrap by casting supplier could be joined with inspection certificates by heat number, the natural key that the business event payload already used.
Desmond made one more point about the boundary. Fabric link is for analytics, not for operational integration. A process that must react within seconds to a certificate should use the business event; a report that shows certificates by supplier over a year should use Fabric. Mixing them leads either to slow processes that poll the analytics store or to heavy analytical queries against the transactional database.
Power BI inside the application
Analytics does not only live in Fabric. Finance and operations apps include analytical workspaces that embed Power BI reports in the application's own workspaces, using Power BI Embedded, so that a user sees charts and operational lists side by side. The standard analytical workspaces read from the entity store. A developer can add a custom report to a workspace: the .pbix file, built in Power BI Desktop over the entity store, is added to a model as a resource; the workspace form gets an Analytics tab with a group control; and the form's init method calls the shared helper PBIReportHelper with the resource name and the group control, after checking that the user has access to the workspace's menu item.
[ExtensionOf(formStr(CRPumpWarrantyWorkspace))]
final class CRPumpWarrantyWorkspace_Analytics_Extension
{
public void init()
{
next init();
// Secure entry point: only users who can open the workspace see its report.
if (Global::hasMenuItemAccess(menuItemDisplayStr(CRPumpWarrantyWorkspace), MenuItemType::Display))
{
PBIReportHelper::initializeReportControl('CRWarrantyAnalytics', this.design().controlName(formControlStr(CRPumpWarrantyWorkspace, powerBIReportGroup)));
}
}
}Desmond's recommendation was to use embedded reports sparingly: one small report in the warranty workspace showing claims by product family for the last twelve months, so that Annelise's service team saw trends where they worked. Everything else would live in the Power BI service over Fabric, where Ifeoma could change it without a code release.
Worked problem
Choosing a source for a report
Ifeoma wants a daily report of warranty claims by product family, with customer names, and a monthly report of freight cost per pump shipped, which needs inventory transactions. How should each get its data?
Show solution
- Warranty claims by product family can come through Fabric link from the warranty field entity and the claim table, both of which have row version change tracking enabled and are within the validation rules.
- Customer names come with the entity, which joins the party table, so no extra table is needed.
- Inventory transactions are on Microsoft's list of tables not to change-track because of their volume, so the freight report should use a standard analytical entity or a daily snapshot rather than the raw table.
- Both reports are built in the Power BI service over the Fabric workspace; only the claims summary is also embedded in the warranty workspace.
Answer: Fabric link through change-tracked custom sources for claims; a standard analytical entity or snapshot for freight cost; Power BI over Fabric for both.
Common mistakes
MistakeFollowing old guidance to set up Export to Data Lake.
InsteadExport to Data Lake was retired and shut down on November 30, 2026; use Fabric link or Synapse Link.
MistakeEnabling change tracking on very high-volume transaction tables.
InsteadFollow Microsoft's list of tables to avoid and use analytical entities or snapshots.
MistakeIgnoring change-tracking warnings in the build.
InsteadTreat them as errors for entities intended for analytics.
MistakePolling the analytics store from an operational process.
InsteadUse business events for operational reactions and Fabric for analysis.
Summary and key terms
- Export to Data Lake was retired on November 1, 2024 and permanently shut down on November 30, 2026; BYOD has no retirement date but a move is recommended.
- Microsoft recommends Link to Microsoft Fabric for Power BI and Fabric users and Synapse Link for exports to customer storage.
- Finance and operations tables and entities can be added to these links; entities come through virtual tables with Track changes on.
- Row version change tracking is set by a configuration key and by properties on tables and entities, and entities must pass strict validation rules.
- Embedded Power BI reports in workspaces use a .pbix resource and the PBIReportHelper class.
- Link to Microsoft Fabric
- A zero-copy integration that makes Dataverse tables, including finance and operations data, available in a Fabric workspace.
- Azure Synapse Link for Dataverse
- A service that exports Dataverse and finance and operations data to Azure storage, for finance and operations data in Delta format.
- Row version change tracking
- Change detection based on a SQL rowversion column that lets consumers read changed rows incrementally.
- SysRowVersion
- The system field added to tables that allow row version change tracking.
- Entity store
- The operational data warehouse used by built-in analytical workspaces.
- Analytical workspace
- An application workspace that embeds Power BI reports.
Practice problems
Work each problem on paper first, then reveal the answer to check.
What must be true of every table in an entity before the entity can allow row version change tracking?
Show answer
Each table must have the Allow row version change tracking property set to Yes.
Why did Prudence remove the exists join from her entity?
Show answer
Exists joins are not supported for row version change tracking on entities.
What extra table should be selected with a derived table such as the person table?
Show answer
Its base table, because derived tables do not include the base table's fields.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.