MSBA-139 · Lesson 4 of 12 · 21 min
Domain review: Dataverse
▶ Video coming soon A video version of this lesson is on the way.
Signe Tavernier-Mbeki joined the Dataverse session with a printout of the original transcript spreadsheet, Transcript_Requests_MASTER_v7_DO_NOT_TOUCH.xlsx. "Every exam question about Dataverse is really a question about what this spreadsheet could not do," she said. It could not stop two people overwriting the same row. It could not hide a date of birth from an adviser who did not need it. It could not keep a history of who changed what. It could not enforce that every request had a recipient. Dataverse does all of those things, and the PL-900 objectives ask you to describe how.
Dataverse is half of the "Manage the Microsoft Power Platform environment" domain, which carries 20 to 25 percent of the exam. The study guide lists five Dataverse objectives: the differences from traditional databases; tables, columns and relationships; forms and views; options for business logic, including Power Fx; and using AI to create and edit tables, columns and relationships. Lesson 5 covers the other half of the domain, administration and governance.
Dataverse compared with a traditional database
A traditional relational database such as SQL Server stores data in tables with columns and keys. Someone has to install or provision it, design the schema, write the queries, build the security, manage backups and patching, and write an application layer before ordinary users can work with the data. Dataverse is also relational underneath, but it is delivered as a managed service with much of that application layer already built in.
| Aspect | Traditional database | Dataverse |
|---|---|---|
| Provisioning and maintenance | Servers or cloud instances to size, patch and back up | Managed by Microsoft as part of an environment |
| Schema design | Written in SQL or a modelling tool | Designed in the maker portal, with standard tables such as Account and Contact ready to use |
| Data types | General types such as text, number and date | Rich business types: choice, lookup, currency, file, image, email, phone, autonumber and more |
| Security | Built by the developer, often in the application | Built in: security roles, business units, teams, column security |
| Business logic | Stored procedures, triggers, application code | Business rules, formula columns, flows and plug-ins |
| Auditing | Configured separately | Can be turned on per table and column |
| Access from apps | Through code or drivers | Through the Dataverse connector, model-driven apps and APIs |
| Shared with business apps | Separate integration work | The same platform used by Dynamics 365 apps |
The exam often presents this as a choice between Dataverse and something simpler, especially a SharePoint list or an Excel file. SharePoint lists are fine for simple lists with modest volumes and light security. Dataverse is the better choice when you need relationships between many tables, row-level security by role or business unit, complex business logic, auditing, larger volumes, or a model-driven app. Signe's rule of thumb: if the question mentions security roles, relationships between several tables or auditing, the answer is almost certainly Dataverse.
Tables
A table holds rows of one kind of thing, such as Transcript Request or Recipient Organization. Dataverse includes standard tables, such as Account, Contact and User, and you can create custom tables for your own data. Most tables are standard tables in the technical sense, but Dataverse also offers activity tables for things like emails, phone calls and tasks that appear on a timeline; virtual tables, which show data stored in another system as if it were in Dataverse; and elastic tables for very high volumes of data.
Each table has an ownership type. User or team owned tables record an owner on each row, which lets security roles limit access to "my rows", "my business unit's rows" and so on. Organization owned tables have no row owner, so access is all or nothing. Lumenvale's Transcript Request table is user or team owned so that campus advisers see their own campus's requests; the Recipient Organization reference table is organization owned because everyone should see the same list.
Columns
Columns hold the individual values on each row. Choosing the right data type is the first design decision, and exam items like to test it. A status that must be one of a fixed list is a choice column, not text. A link to another table is a lookup. A request number that should increase automatically is an autonumber column. A transcript PDF is a file column. Some columns can be required, and some can be searched.
| Need | Column type |
|---|---|
| One value from a fixed list, such as Submitted, Approved, Sent | Choice |
| Several values from a fixed list | Choices (multi-select) |
| A reference to a row in another table | Lookup |
| An identifier such as TR-01042 generated automatically | Autonumber |
| An attached document | File |
| A value worked out from other columns | Formula, calculated or rollup |
| Money with a currency | Currency |
Relationships
Relationships connect tables. The most common is one-to-many: one Contact (the student) has many Transcript Requests. A lookup column on the many side, here on Transcript Request, stores the link. Many-to-many relationships connect rows on both sides freely, such as courses and instructors, where each course has several instructors and each instructor teaches several courses. Dataverse creates a hidden intersect table to hold many-to-many links.
Relationships also have behaviours that decide what happens to related rows when a parent row is deleted, reassigned or shared. A parental relationship cascades actions to child rows; a referential relationship leaves child rows alone; a restrict behaviour prevents deleting a parent that still has children. On PL-900 you need to recognize the idea, not configure each action. If a question asks how to stop someone deleting a student who still has transcript requests, the answer is a restrict delete behaviour on the relationship.
Forms and views
Forms and views are how people see Dataverse data in model-driven apps. A form shows one row: the main form for full editing, a quick create form for adding a row with a few fields without leaving the current screen, a quick view form for showing related data inside another form, and a card form for compact layouts. A view shows a list of rows with chosen columns, filters and sort order. System views are created by makers and shared with everyone who has access; personal views are created by users for themselves.
The distinction exam items like is between a form and a view. If the scenario is about which rows appear in a list, it is a view. If it is about which fields appear when you open one row, it is a form.
Options for business logic
Business logic means rules that the data must follow or calculations that should happen automatically. Dataverse offers several places to put it, and choosing the right one is a classic exam item.
| Option | Where it runs | Typical use |
|---|---|---|
| Business rule | On forms, and on the server when its scope is set to the whole table | Set a column required, show an error, set a default, lock a column, without code |
| Formula column | On the server when the row is read | A value computed with a Power Fx formula, such as days since a request was submitted |
| Calculated and rollup columns | On the server | Older ways to compute a value from the same row or summarize related rows |
| Cloud flow triggered by Dataverse | In Power Automate, after the change | Send emails, call other systems, run approvals when rows change |
| Plug-in | On the server, synchronously or asynchronously | Complex logic written in code by a professional developer |
Power Fx is the low-code formula language used across Power Platform. In canvas apps it drives control behaviour; in Dataverse it powers formula columns, and Microsoft continues to extend where it can be used. For the exam, the key idea is that Power Fx lets makers express logic in an Excel-like formula rather than writing code, and that a formula column recalculates from the current data rather than storing a value that can go stale.
Worked problem
Choosing where a rule lives
The registrar wants every transcript request to have a recipient before it can move to Approved, whether the change comes from the model-driven app, the Teams canvas app or an import. Where should the rule go?
Show solution
- A rule in the canvas app would only apply in that app.
- A business rule scoped to a single form would only apply on that form.
- A business rule scoped to the entity, which Microsoft labels as the table scope, runs on the server for every save.
- A plug-in would also work, but needs code, and the rule is simple.
Answer: A business rule with table (entity) scope. It enforces the rule everywhere without code. An exam item would likely offer a canvas app formula as the tempting wrong answer.
Using AI to create and edit tables
The newest Dataverse objective asks you to describe how AI helps create and edit tables, columns and relationships. In the maker portal, you can describe the data you need in plain language and Copilot proposes one or more tables with suggested columns, data types, relationships and sample data. You can keep refining the proposal by asking for changes, such as adding a column or changing a type, before you create the tables. You can also start from an existing file, such as an Excel workbook, and have the tables proposed from its structure.
Maribeth tried this in the Personal Development environment during the session. She typed a description of a room booking system for the library, and Copilot proposed a Room table, a Booking table with a lookup to Room and Contact, and a status choice column. Two problems were obvious on review: the booking date and time were plain text, and there was no column for the number of people. She asked Copilot to fix both, then checked the relationship direction herself.
The exam point is the same one MSBA-131 made about AI-built apps: Copilot drafts, and the maker reviews and corrects. Questions that ask what a maker should do after Copilot proposes tables usually have "review the proposed columns and relationships before creating them" as the right answer.
Dataverse for Teams
One more term appears in scenarios: Dataverse for Teams, a lighter version of Dataverse that comes with some Microsoft 365 licences and lives inside a Teams team. It suits small apps used inside one team. Its limits, such as capacity and fewer features, are the reason organizations move to full Dataverse as a solution grows. If a question describes a small app for one team with no extra licensing, Dataverse for Teams is a candidate answer.
Practice items with explanations
| Item | Answer and explanation |
|---|---|
| An app must show a student's name and email from the Contact table inside the Transcript Request form, without editing them. Which form type helps? | A quick view form of Contact placed on the Transcript Request main form. |
| Users need a list of all requests submitted this week, sorted by date, that everyone can use. What should the maker create? | A system view with a filter on the submitted date and a sort order. |
| A value "days waiting" must always reflect today's date without a scheduled job. Which option fits? | A formula column using Power Fx, which calculates when the row is read. |
| Courses have several instructors and instructors teach several courses. Which relationship type is needed? | Many-to-many. |
| A reference list of recipient institutions should be visible to everyone, with no row owner. Which ownership type fits? | Organization owned. |
Common mistakes
MistakeChoosing a SharePoint list when the scenario needs role-based row security and auditing.
InsteadThose needs point to Dataverse.
MistakeUsing a text column for a fixed set of statuses.
InsteadUse a choice column so values stay consistent.
MistakeConfusing forms and views.
InsteadA view is a list of rows; a form is one row.
MistakePutting a rule that must apply everywhere into a canvas app formula.
InsteadUse a business rule with table scope, or a plug-in for complex logic.
MistakeCreating Copilot-proposed tables without checking them.
InsteadReview data types and relationships, and ask for changes first.
Summary and key terms
- Dataverse is a managed, relational data platform with business data types, security, logic and auditing built in.
- Choose Dataverse over a SharePoint list when you need relationships, role-based security, auditing or volume.
- Tables can be user or team owned, which allows row-level security, or organization owned.
- Column types such as choice, lookup, autonumber and file match common business needs.
- Relationships are one-to-many or many-to-many, with behaviours such as restrict delete.
- Forms show one row; views show lists of rows.
- Business logic options include business rules, formula columns written in Power Fx, flows and plug-ins.
- Copilot can propose tables, columns and relationships from a description or a file; the maker reviews them.
- Table
- A set of rows of one kind of thing in Dataverse.
- Lookup column
- A column that links a row to a row in another table.
- Choice column
- A column whose value comes from a fixed list.
- Relationship behaviour
- The rule for what happens to related rows when a parent is deleted, assigned or shared.
- View
- A saved list of rows with chosen columns, filters and sorting.
- Business rule
- No-code logic that sets values, requirements or errors, on forms or for the whole table.
- Formula column
- A column calculated with a Power Fx formula.
- Power Fx
- The low-code, Excel-like formula language used across Power Platform.
Practice problems
Work each problem on paper first, then reveal the answer to check.
A team needs a list of loan items with light security for 30 users. Which is the simpler choice: a SharePoint list or Dataverse?
Show answer
A SharePoint list, unless the scenario adds needs such as relationships, row-level security or auditing.
Which column type stores a reference to a row in another table?
Show answer
A lookup column.
How do you stop a parent row being deleted while child rows exist?
Show answer
Set a restrict delete behaviour on the relationship.
Which form type lets users add a row with a few fields without leaving the current screen?
Show answer
A quick create form.
Which business logic option uses Power Fx in Dataverse?
Show answer
Formula columns.
What should a maker do after Copilot proposes tables from a description?
Show answer
Review and correct the columns, data types and relationships before creating the tables.
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.