Stage 6 of 17

Stage 6 of 17

Design

Architecture, technology choice, relationships, and screen designs for all 9 screens. Includes the Lists vs Dataverse decision, the relationship diagram, and key formulas for each screen.

Technology Choice: Lists vs Dataverse

Why Are We Doing This?

This is one of the most important decisions in the design. The choice between SharePoint Lists and Microsoft Dataverse affects licensing, performance, security, and complexity. Read this section carefully before you build anything.

SharePoint Lists — This Lab

  • ✓Included in Microsoft 365 — no additional licensing required.
  • ✓Familiar to most organisations — easy to administer.
  • ✓Power Apps Standard licence is sufficient.
  • ✓Suitable for up to ~5,000 records per list.
  • ✓Item-level permissions available (with limitations).
  • ✓Lookup columns support relationships between lists.

Use when: volume is low, licensing is constrained, or the team is new to Power Platform.

Microsoft Dataverse — Future State

  • →Requires Power Apps Premium licence. POTENTIAL PREMIUM LICENSING.
  • →Row-level security — true data-level access control.
  • →Supports complex relationships and business rules.
  • →Better performance at scale (millions of records).
  • →Supports calculated columns natively.
  • →Required for model-driven apps and advanced Power Automate flows.

Use when: volume is high, row-level security is required, or the organisation has Premium licences.

Architecture

3-Layer Architecture

Presentation Layer

Canvas Power App (9 screens)Power BI Dashboard (4 pages)

Automation Layer

DToDLab012-ContractReminder (review reminders at 180/120/90/60/30 days)DToDLab012-RiskRatingCalc (risk rating on create/update)DToDLab012-OverdueActions (daily overdue action reminders)

Data Layer

Suppliers listContracts listServices listReviews listRisks listActions list

List Relationships

Contracts→SuppliersMany-to-oneA contract belongs to one supplier. A supplier can have many contracts.
Services→ContractsMany-to-oneA service is delivered under one contract. A contract can have many services.
Services→SuppliersMany-to-oneA service is delivered by one supplier (denormalised from the contract for convenience).
Reviews→ContractsMany-to-oneA review is associated with one contract. A contract can have many reviews.
Reviews→SuppliersMany-to-oneA review is associated with one supplier (denormalised from the contract).
Risks→SuppliersMany-to-oneA risk is associated with one supplier. A supplier can have many risks.
Risks→ContractsMany-to-one (optional)A risk may be associated with a specific contract, or may be supplier-level.
Actions→ContractsMany-to-one (optional)An action may be linked to a contract.
Actions→SuppliersMany-to-one (optional)An action may be linked to a supplier.

Lookup Column Limitation in SharePoint

SharePoint Lookup columns can only look up a single column from the target list (usually the Title column). To display additional fields from the related record (e.g. the supplier category on the Contracts screen), you must either: (a) use additional lookup columns for each field you need, or (b) look up the full record in the Power App using LookUp(Suppliers, ID = ThisItem.Supplier.Id). Option (b) is more flexible and is the approach used in this lab.

Screen Designs

1

Dashboard

The first screen users see. Provides an at-a-glance view of the most important information.

Components

  • •KPI cards: Contracts expiring in 30 days (count), Open critical risks (count), Overdue actions (count), Contracts under review (count).
  • •Gallery: Contracts expiring in 30 days. Columns: ContractID, Title, Supplier, EndDate, DaysToExpiry. Sorted by DaysToExpiry ascending.
  • •Gallery: Open critical risks. Columns: Title, Supplier, RiskRating, Owner.
  • •Gallery: Overdue actions. Columns: Title, Owner, DueDate.
  • •Navigation bar: Suppliers | Contracts | Services | Reviews | Risks | Actions.

Key Formulas

DaysToExpiry KPI: CountIf(Contracts, DateDiff(Today(), EndDate, Days) <= 30, Status <> "Terminated", Status <> "Expired")
Critical risks KPI: CountIf(Risks, RiskRating = "Critical", Status <> "Closed")
Overdue actions KPI: CountIf(Actions, DueDate < Today(), Status <> "Complete")
2

Suppliers

List of all suppliers with filter and search.

Components

  • •Search box: filters by supplier name (contains).
  • •Category filter: dropdown (All / IT / Facilities / Professional Services / Logistics / Other).
  • •Status filter: dropdown (All / Active / Inactive / Under Review).
  • •Gallery: filtered supplier list. Columns: SupplierID, Name, Category, Status, active contract count.
  • •New Supplier button (procurement team only).

Key Formulas

Gallery Items: Filter(Suppliers, (txtSearch.Text = "" || Title in txtSearch.Text), (ddCategory.Selected.Value = "All" || Category = ddCategory.Selected.Value), (ddStatus.Selected.Value = "All" || Status = ddStatus.Selected.Value))
3

Supplier Details

Full details for a selected supplier, including linked contracts, open risks, and recent reviews.

Components

  • •Supplier header: name, category, status badge.
  • •Contact details: primary contact, account manager.
  • •Linked contracts gallery: active contracts for this supplier.
  • •Open risks gallery: open risks for this supplier.
  • •Edit button (procurement team only).

Key Formulas

Linked contracts: Filter(Contracts, Supplier.Id = varSelectedSupplier.ID, Status <> "Terminated")
Open risks: Filter(Risks, Supplier.Id = varSelectedSupplier.ID, Status <> "Closed")
4

Contracts

List of all contracts with filter, search, and expiry highlighting.

Components

  • •Search box: filters by contract title.
  • •Status filter: dropdown.
  • •Category filter: dropdown.
  • •Criticality filter: dropdown.
  • •Gallery: filtered contract list. Columns: ContractID, Title, Supplier, Status, AnnualValue, EndDate, DaysToExpiry.
  • •Expiry warning: contracts with DaysToExpiry <= NoticePeriodDays shown with a red/amber indicator.
  • •New Contract button (procurement team only).

Key Formulas

DaysToExpiry (calculated column): DateDiff(Today(), EndDate, Days)
Expiry warning colour: If(DaysToExpiry <= 30, RGBA(220,38,38,1), If(DaysToExpiry <= 90, RGBA(245,158,11,1), RGBA(34,197,94,1)))
5

Contract Details

Full details for a selected contract, including services, reviews, open risks, and open actions.

Components

  • •Contract header: title, supplier, status badge, criticality badge.
  • •Key dates: StartDate, EndDate, NoticePeriodDeadline, ReviewDate, DaysToExpiry.
  • •Financial: AnnualValue, Currency.
  • •Services tab: gallery of services linked to this contract.
  • •Reviews tab: gallery of reviews for this contract.
  • •Risks tab: gallery of open risks linked to this contract.
  • •Actions tab: gallery of open actions linked to this contract.
  • •Edit button (procurement team only).
  • •Add Review / Add Risk / Add Action buttons (procurement team only).

Key Formulas

NoticePeriodDeadline: DateAdd(EndDate, -NoticePeriodDays, Days)
Services: Filter(Services, Contract.Id = varSelectedContract.ID)
Reviews: Filter(Reviews, Contract.Id = varSelectedContract.ID)
Risks: Filter(Risks, Contract.Id = varSelectedContract.ID, Status <> "Closed")
Actions: Filter(Actions, LinkedContract.Id = varSelectedContract.ID, Status <> "Complete")
6

Reviews

List of all reviews with filter. New review form.

Components

  • •Gallery: all reviews, sorted by ReviewDate descending.
  • •Filter by supplier and contract.
  • •New Review form: Contract (lookup), Supplier (auto-populated from contract), ReviewDate, Attendees, Outcome, Notes, NextReviewDate.

Key Formulas

Auto-populate Supplier from Contract: Set(varSelectedContract, LookUp(Contracts, ID = ddContract.Selected.ID)); Set(varReviewSupplier, varSelectedContract.Supplier)
7

Risks

List of all risks with filter. New risk form.

Components

  • •Gallery: all risks, sorted by RiskRating (Critical first), then Status.
  • •Filter by supplier, status, and risk rating.
  • •New Risk form: Title, Description, Supplier, Contract (optional), Likelihood, Impact, Owner, Mitigation, TargetDate.
  • •RiskRating: displayed as read-only, calculated by Power Automate.

Key Formulas

Risk rating colour: Switch(ThisItem.RiskRating, "Critical", RGBA(220,38,38,1), "High", RGBA(234,88,12,1), "Medium", RGBA(245,158,11,1), RGBA(34,197,94,1))
8

Actions

List of all actions with filter. New action form.

Components

  • •Gallery: all actions, sorted by DueDate ascending.
  • •Filter by status and owner.
  • •Overdue indicator: actions where DueDate < Today() and Status <> "Complete" shown with red DueDate.
  • •New Action form: Title, Description, Source, LinkedContract, LinkedSupplier, Owner, DueDate.

Key Formulas

Overdue indicator: If(ThisItem.DueDate < Today() && ThisItem.Status <> "Complete", RGBA(220,38,38,1), RGBA(107,114,128,1))
9

New / Edit Supplier

Form for creating and editing supplier records.

Components

  • •All supplier fields from the data dictionary.
  • •Save button: Patch(Suppliers, ...) with validation.
  • •Cancel button: Back().
  • •Validation: Title required. PrimaryContactEmail must contain "@".

Key Formulas

Save: If(IsBlank(txtTitle.Text), Notify("Supplier name is required", NotificationType.Error), Patch(Suppliers, If(varEditMode, varSelectedSupplier, Defaults(Suppliers)), {Title: txtTitle.Text, ...}))

Stage Complete — What You Now Have

  • ✓Technology choice: SharePoint Lists (with Dataverse migration path documented)
  • ✓3-layer architecture: Presentation, Automation, Data
  • ✓9 list relationships documented
  • ✓9 screen designs with components and key formulas
  • ✓4 permission groups
  • ✓Lookup column limitation documented with workaround
NextPrepare

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project