latttice Learning library
DP01Household Relationships
Open Latttice
INTERACTIVE STEP-BY-STEP GUIDE

Build a structured data product

Build a household relationships foundation. Follow the real Latttice workflow, review the automated engineering, and practise every key step.

2source tables
12output fields
800demo households
9 steps · about 6 minutes

Clear instructions at every step. Move at your own pace.

Practise on genuine app captures, or follow along in your own Latttice session. Tour actions stay in this browser.

YOUR HOUSEHOLD FOUNDATION DP01
Business intent→AI engineering→Data product
Genuine saved DP01 query results showing household records
✓
One row per household. One snapshot.Connected, structured and ready to use.
FIXED DEMO SNAPSHOT 09 OCT 2026
BUSINESS TEAMS TAKE THE LEAD

Describe the outcome. Review the logic. Create the foundation.

Guide overview

Create a household relationship view from business intent. Review sources, check the generated logic, validate a preview and practise finalizing your product.

Beginner · About 6 minutes · 9 guided steps

What you will learn

  • Write a business request with clear sources, snapshot and outputs.
  • Review source meaning, join keys and the household reporting grain.
  • Check twelve output fields and validate example preview counts.
  • Review the final contract and practise saving a data product.

Before you start

Browser practice: No account or setup required. Practise on genuine app captures in this browser.

Follow along in Latttice: A signed-in Latttice session with access to Databricks Demo and its latttice_demo schema.

Read the 9-step workflow

This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.

  1. Start with the business outcome.

    Create a clear name and description for DP01: a reusable household relationships foundation.

    • In Latttice, enter “DP01 | Household Relationships - Business Demo” as the product name.
    • Add a description of the household relationship view; use a unique name if this demo already exists.
    • Confirm your details here to continue.

    Check: A clear product name and household relationship purpose.

  2. Tell Latttice what to build.

    Specify the sources, the reporting date, the household grain and the outputs. Let the business requirement drive the engineering.

    • Copy the prepared request into Intent / Use Case in Latttice.
    • Check that it specifies Databricks Demo, latttice_demo and the snapshot of 9 October 2026.
    • Select Generate, then confirm here.

    Check: One household per snapshot, with an explicit date and business rules.

  3. Review the AI recommendation.

    Confirm that the selected tables provide membership and party details. Check the business definitions before relying on them.

    • In Latttice, confirm the household membership and customer party tables from Databricks Demo.
    • Choose relevant Finance Semantic definitions where they cover these sources; otherwise verify the direct table meaning.
    • Confirm your source review here.

    Check: Both sources checked, with their meaning and semantic coverage reviewed.

  4. Put the plan into motion.

    Once the source mapping and business meaning are reviewed, accept the recommendation to populate the product design.

    • In Latttice, select Accept All Recommendations after checking the sources and business meaning.
    • Confirm here, then review the generated product design.

    Check: Recommendation accepted; review the generated logic next.

  5. Two tables. One household view.

    Inspect the generated SQL. Each membership must match its party in the same snapshot, then roll up to one household record.

    • In Latttice, inspect the generated SQL.
    • Check that membership joins to party on both party_id and as_of_date, with the snapshot filtered to 2026-10-09.
    • Confirm one output row per household_id and as_of_date.

    Check: Join: party_id + as_of_date. Grain: household_id + as_of_date.

  6. Make the business logic explicit.

    Review two keys and ten computed fields, including member composition, primary business, key contact and overdue KYC counts.

    • In Latttice, open Tables & Columns and review the 12 outputs: 2 keys and 10 computed fields.
    • Check primary business, key contact and member counts; entities include BUSINESS and TRUST parties.
    • Only KYC reviews due before 9 October 2026 are overdue—reviews due that day are not.

    Check: 12 outputs. A KYC review due on the snapshot is not overdue.

  7. See the product before you save.

    Load Preview Data and check the output shape, snapshot and counts. The captured preview contains 100 sample rows.

    • In Latttice, open Preview Data and select Load Preview.
    • Check the snapshot, household keys and counts; Harbour · HH000001 should show 3 members, 1 person, 2 entities and 0 overdue KYC reviews.
    • The 100 preview rows are a sample; the saved reference result reports 800 households.

    Check: Harbour: 3 members = 1 person + 2 entities; 0 overdue KYC.

  8. Turn the design into a data product.

    Continue to Preview and Finalize. Confirm the name, reporting date, household grain and twelve fields before creating the product.

    • In Latttice, select Next: Preview & Finalize.
    • Review the product name, 2026-10-09 snapshot, household grain and all 12 fields, then create the product.
    • After the live save succeeds, confirm here to record your progress.

    Check: Snapshot 2026-10-09 · household grain · 12 output fields.

  9. Business intent. Engineered product.

    You have completed the DP01 practice workflow. This genuine saved reference demo reports 800 households and 12 output fields.

    • Your DP01 walkthrough is complete; your live save is self-confirmed.
    • The screen shows the saved reference demo with 800 households and 12 output fields.
    • Download the checklist and use household_id and as_of_date to connect this foundation to other products.

    Check: Reference result: 800 households · 12 output fields.

Explore all Latttice guides →

Real app screens · browser-local practice

latttice.app / create data product
DO THIS STEP

What to do

    CHECK

    Enlarged application capture