A finance director asks for a revised margin measure before the board meeting. A developer opens the published Power BI semantic model, adjusts its definition in the browser and applies the change. The dashboard looks correct at first glance. But which version was changed, who approved it, and how can the team prove that the calculation still agrees with the financial ledger?
This is the governance question behind Tabular Model Definition Language (TMDL) view in Power BI. Microsoft’s TMDL view is generally available in Power BI Desktop, while its web experience remains in preview as documented in November 2026. The browser editor makes model metadata easier to inspect and change, but it does not turn every live edit into an automatically reviewed, tested deployment. For organizations with shared KPIs, the opportunity is to make semantic-model definitions more transparent without sacrificing change control.
What TMDL actually changes
A Power BI semantic model defines tables, relationships, measures, calculation groups, roles and other metadata that shape business reporting. TMDL expresses this metadata as readable text. Instead of navigating multiple property dialogs, developers can script model objects, review the proposed changes and apply them. The language supports a more repeatable approach to model maintenance, especially when paired with Power BI projects (PBIP), source control and a release process.
The web editor supports viewing and editing published semantic models, with distinct View and Edit modes. It can preview a before-and-after diff. Microsoft documents that browser TMDL scripts are not persisted when the browser or model closes; workspace version history can help restore previous semantic-model versions. These are useful safeguards, not substitutes for a durable Git repository and independent testing.
A critical distinction: TMDL view modifies model metadata, not the underlying data. A Power Query or calculated-column change may require a subsequent refresh. Renaming fields can break report visuals that depend on them. Teams must validate both the model definition and the business-facing result.

Why executives should care about semantic-model governance
Semantic models are often the hidden contract between operational systems and executive dashboards. A single revenue or active-customer measure may feed dozens of reports. A change that seems local can alter monthly reporting, budget variance, sales incentives and board packs. The governance problem is not whether developers can write TMDL quickly; it is whether changes are attributable, reversible and checked against an agreed business definition.
For BI teams modernizing shared reporting, a useful starting point is to inventory the measures and dependencies behind critical dashboards. Actiknow’s business intelligence consulting and implementation services cover data integration, modeling and BI delivery, the same lifecycle in which semantic-model controls belong.
When browser editing is appropriate
Browser TMDL editing is well suited to inspection, controlled troubleshooting, small authorized corrections and preparing scripts for a formal change request. It is less appropriate as an informal production shortcut for structural changes affecting many reports. The correct choice depends on blast radius, criticality, recovery capability and the maturity of the organization’s source-control process.
A low-risk example is inspecting the definition of an existing measure and documenting a proposed formatting change. A higher-risk example is replacing the logic of net revenue, changing relationship cardinality, modifying row-level security or renaming fields used across reports. High-risk changes deserve a separate development workspace, peer review, regression tests and an explicit release window.
A practical control model: five gates
1. Register the change
Record the semantic-model ID, business owner, reason, affected objects, requested behavior and rollback owner. Link the request to the business KPI definition, not merely a ticket saying ‘fix measure’.
2. Capture the baseline
Export or otherwise preserve the relevant model definition and record the current deployed version. Where supported, maintain PBIP/TMDL files in a repository with a named release tag. Confirm that the baseline can actually be restored before making a consequential edit.
3. Review the diff
Use TMDL preview to identify added, changed and removed objects. Have a second reviewer assess DAX logic, relationships, data types, security effects, naming and downstream dependencies. Reviewers should ask whether the proposed change solves the business requirement rather than merely whether it is syntactically valid.

4. Test behavior
Compare a representative set of KPI outputs against trusted source figures. Include current month, prior period, zero-value cases, missing records, security roles and key report filters. Test dependent visuals and refresh behavior where relevant. Document expected versus actual results and tolerance thresholds.
5. Approve and deploy
Apply the change in a controlled environment, confirm workspace permissions, record the deployed version, monitor refresh and query behavior, and obtain business-owner acceptance. If checks fail, execute the rehearsed rollback rather than improvising changes in production.
Designing a Git-based workflow around TMDL
For teams with multiple developers, a recommended pattern is development workspace → PBIP/TMDL repository → pull request → automated checks → test workspace → business acceptance → production release. The browser can remain a diagnostic and limited-editing tool while the repository is the source of truth for managed changes.
A pull request should explain what changed and why. Require the reviewer to inspect modified measures, model relationships, role definitions and deleted objects. Use a standardized test dataset where feasible, and preserve a small collection of expected-result queries for the most important measures. Automation can flag formatting or object differences, but it cannot decide whether a margin definition matches finance policy.
Do not assume that simply enabling workspace Git integration captures every script typed into the browser editor. Microsoft explicitly distinguishes browser script persistence from project-file source control. Establish a documented export, commit and deployment route and test it end to end before relying on it.

Testing beyond a successful Apply message
A successful TMDL application establishes that a metadata operation was accepted; it does not prove reporting correctness. Define acceptance tests at three levels. Model tests verify expected objects, relationships, expressions and security definitions. Data tests reconcile aggregates and edge cases to trusted source systems. Experience tests confirm that existing reports, slicers, drill paths and role-specific views still work.
Consider a gross-margin measure. Compare results by month, business unit and product, including refunds and negative revenue. Check the totals as well as subtotals, because DAX filter context can produce a correct-looking grand total with incorrect segment results. Re-run the same checks after deployment and after any required refresh.

Security and operational safeguards
Limit semantic-model write access to authorized maintainers. Separate development and production responsibilities where practical. Treat changes to row-level security and object-level security as high-risk, with dedicated role tests. Keep credentials and connection details out of shared code snippets, and make sure repository access matches data governance policies.
For production models, define who can authorize an emergency fix, what evidence must be captured, and when the change must be reconciled back into source control. Without this step, emergency browser edits can create configuration drift between the deployed model and the repository.
A four-week adoption pilot
Week 1
Select one non-critical semantic model, identify its owner, inventory dependent reports and establish a known-good baseline. Agree on a KPI test pack and a simple risk classification.
Week 2
Script model objects, test browser View and Edit behavior in a safe workspace, and document permission requirements. Validate whether existing version-history and recovery procedures work as expected in the tenant.
Week 3
Make two controlled changes through a review-and-test workflow: one measure adjustment and one metadata-only improvement. Compare TMDL diffs, expected KPI results and report behavior. Rehearse restoration.
Week 4
Evaluate change lead time, review quality, test coverage, recovery time and production drift. Decide whether to expand to business-critical models, and publish an operating standard with named owners.
Executive scorecard for the pilot
Track the percentage of production models with a named owner, the share of material changes with peer approval, the proportion of critical measures covered by regression checks, the number of untracked production edits, median time to restore a known-good version, and the number of incidents caused by semantic-model changes. These are governance indicators, not claims of automatic performance gains from TMDL.

Common failure modes to avoid
First, treating readable code as inherently safe. A clear-looking DAX expression can still encode the wrong business logic. Second, using browser editing as the only source of change history. Third, validating only whether the model saves, rather than whether reports and security behave correctly. Fourth, overlooking refresh requirements after metadata changes. Fifth, making field renames without mapping downstream dependencies. Sixth, assuming preview functionality means the web experience has reached general availability; Microsoft’s documentation still labels web TMDL view as preview.
Frequently asked questions
1. Is TMDL view available in Power BI Desktop and the browser?
Yes. Microsoft documents Desktop TMDL view as generally available and web TMDL view as preview.
2. Does browser TMDL automatically commit changes to Git?
No. Browser scripts are not persisted as reusable script tabs when the model or browser closes; establish a separate source-control process.
3. Does applying TMDL refresh the dataset?
No. Metadata changes do not automatically refresh underlying data; certain changes require a manual refresh.
4. Can a measure change break existing reports?
Yes. Changed calculations alter displayed numbers, and renamed or removed fields can break visuals or dependent expressions.
5. Can we use TMDL to review model differences before applying?
Yes. The editor offers a preview diff to inspect proposed metadata changes.
6. Should every semantic-model edit require a pull request?
Not necessarily. Set a risk-based policy, but material production changes to shared KPIs should be reviewed and recorded.
7. Is workspace version history enough for disaster recovery?
It is useful, but organizations should verify restore behavior and maintain independent versioned definitions for important models.
8. Who should approve KPI logic?
The technical reviewer validates implementation, while the accountable business owner approves the meaning and expected results.
9. What should we test after changing security roles?
Verify permitted and prohibited views using representative user roles, including edge cases and report-level behavior.
10. Where should we start?
Choose a low-risk shared model, establish a baseline and test pack, then pilot review, deployment and rollback before scaling.
The decision: make the semantic layer an owned asset
TMDL web modeling is valuable because it exposes model definitions and makes controlled edits more accessible. Its real enterprise value appears when those definitions are treated as governed assets: reviewed, tested, versioned and reconciled to the business. Organizations do not need to prohibit browser edits; they need clear boundaries between exploration, emergency remediation and managed releases.
If your organization is standardizing Power BI measures or consolidating fragmented reporting, Actiknow’s BI dashboard development services can support the broader assessment of model design, integrations and reporting workflows. Start with an inventory of your critical measures and the reports that depend on them, then agree on the controls before accelerating change.
Sources and further reading
Microsoft Learn: Work with TMDL view in Power BI — https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tmdl-view
Microsoft Learn: Power BI projects (PBIP) and source control documentation, accessible from the TMDL documentation’s related links.

