Model records and relationships in Dataverse
Design a service-request model and check how the proposed schema behaves with real examples.
Model records and relationships in Dataverse
Work through the decision
A maker proposes one table with repeated owner names and three inspection-date columns per permit. The team expects repeated inspections and wants to find every open permit for one owner. How should the model change?
Check your reasoning
Use an Owner table and a Permit lookup to Owner. Add an Inspection table with a lookup to Permit so a permit can acquire any number of inspections. Use a view to find open permits and a form to edit a selected permit. Review AI-generated tables, data types and relationship directions with sample rows.
Compare the choices
- Lookup relationship
- A lookup on the many side points to the one side and preserves each record’s independent identity.
- Dataverse view
- Choose the rows, columns, filters and sorting for a reusable list of records.
- Dataverse form
- Define the fields and sections used to inspect or edit an individual record.
- Business rule
- Apply supported conditional logic such as validation and field requirements. Confirm the rule's scope and test each intended entry path.
- Power Fx formula column
- Compute a supported expression from row data and expose the result as a column.
- AI-assisted table design
- Describe the desired entities and let the maker experience propose a schema. Inspect keys, types and relationship cardinality before using it.
Test the decision
Owner O7 has permits P4 and P8. P4 has two inspections and P8 has none. Adding an inspection creates one child row. A formula column can calculate a value from supported fields while a business rule can require an explanation when a status changes.
Practice the guide skills
- Compare creating a table in a relational database with using Dataverse’s table model, built-in security and integration with apps. Watch 8:03
- Model the relationship between an inspection and its permit, then add a second inspection without duplicating permit data. Watch 7:56
- Build a filtered open-permits view and identify the form fields needed to edit one permit. Watch 8:42
- Choose a business rule for conditional validation and a Power Fx formula column for a supported derived value. Watch 9:34
- Describe the schema to the AI assistant, compare its proposal to sample records, and correct the lookup direction. Watch 10:38
Official objectives for this lesson
Related lesson · Model ordered and shipped sales against a shared calendar
Model records and relationships in Dataverse quiz
Answer 3 questions. Check each answer for an explanation.
Worked example · Model records and relationships in Dataverse