Dataverse tables, columns and relationships

PL-200 · Configure Microsoft Dataverse · Updated

Dataverse is the data layer behind Power Apps, Power Automate and Microsoft Copilot Studio. Most PL-200 questions start with a data model, so you must pick the right table, column and relationship types. Dataverse was formerly called Common Data Service, and older questions may say “entity” and “field” for what is now table and column.

Table types and ownership

OwnershipAccess controlUse when
User or team ownedPer row, by ownerMost business data (accounts, cases)
Organization ownedWhole organization, no row ownerReference data everyone can read
Business ownedBy business unitData that belongs to a unit, not a person

Ownership is chosen when you create a table and cannot be changed later. Table types also include standard, activity (emails, tasks, appointments) and virtual (data stays in an external source).

Column types

  • Choice (formerly option set): a fixed list of labels with numbers. Use a global choice to share one list across tables.
  • Lookup: points to one row in another table.
  • Calculated: formula using columns on the same row or a parent row.
  • Rollup: aggregates related child rows. It is calculated asynchronously (about hourly by default), and users can refresh it manually.
  • Formula: a column written in Power Fx.
  • Autonumber: generated sequence such as INV-{SEQNUM:5}.
  • File and Image: store binary data.

For Date and Time columns, behavior can be User Local, Date Only or Time-Zone Independent. You can change User Local to the other two, but not the other way round.

Relationships

TypeMeaning
1:N (one-to-many)One parent, many children; creates a lookup on the child
N:1Same relationship seen from the child
N:NMany on both sides; uses an intersect table

Relationship behavior controls what happens when the parent row is assigned, shared or deleted. Parental cascades all actions, Referential cascades nothing, Referential, Restrict Delete blocks deleting a parent that has children, and Custom lets you choose.

Keys and duplicates

An alternate key makes a column set unique and supports upsert from Power Automate, dataflows and the Web API. Duplicate detection rules warn users or imports about likely duplicates, and must be published to work.

Exam traps

  • Ownership cannot be changed after the table exists, so read the security requirement first.
  • A calculated column cannot aggregate child rows. That is a rollup column.
  • Do not confuse a global choice (shared) with a local choice (one column).
  • Duplicate detection rules do nothing until published.
  • Dataverse is the current name; “Common Data Service” in a question means the same thing.

Practice questions

Choose an answer, then review the explanation to check your understanding.

1. Rows in a new table must be tied to a business unit, and security roles must be set at business unit level. Which ownership type do you pick?

Show answer

Answer: C.Business owned tables are owned by a business unit. User or team owned tables allow row-level access control by owner.

2. A column must show the total of all open opportunity amounts for an account and be refreshed on a schedule. What do you create?

Show answer

Answer: B.A rollup column aggregates values from related rows (SUM, COUNT, MIN, MAX, AVG) and is recalculated by system jobs. A calculated column only uses values from the same row or its parent.

3. A partner sends records without Dataverse IDs, and you must update existing rows instead of creating duplicates. What do you configure?

Show answer

Answer: B.An alternate key is a unique combination of columns that lets imports and the API find existing rows (upsert).

4. Many students attend many courses. Which relationship do you create?

Show answer

Answer: C.A many-to-many (N:N) relationship uses a hidden intersect table. Use one-to-many when each child has a single parent.

PL-200 course outline

All 7 lessons · Course overview
  1. Dataverse tables, columns and relationshipsConfigure Microsoft Dataverse Free
  2. Dataverse security roles and column securityConfigure Microsoft Dataverse Free
  3. Canvas apps and Power Fx essentialsCreate apps by using Power Apps Full access
  4. Model-driven apps, forms, views and business logicCreate apps by using Power Apps Full access
  5. Power Automate cloud flows and approvalsCreate and manage Power Automate flows Full access
  6. Solutions, environments and ALMImplement Power Apps improvements and integrations Full access
  7. Copilot Studio chatbots, topics and variablesImplement Power Apps improvements and integrations Full access